Splunk Search

Why would a search from a datamodel take longer than same search against raw ?

jlyon_splunk
Splunk Employee
Splunk Employee

I performed this search:

| datamodel Authentication Autherntication search | search Authentication.src=xxx.yyy.com (over past 60 min)

the results took 6.26 min

the search against raw:

index=* xxx.yyy.com

and the same number of results only took 10 seconds to return...

Tags (3)
0 Karma

matthieu_araman
Communicator

I've experienced the same kind of behaviour.

in my opinion :
in the second case, splunk uses bloom filter -> matches only some buckets depending on your search -> can be very fast
in your dm case, splunk has to build the dm then filter
the build the dm will be for a lot of data -> rather slow. the filtering after is very fast.
but if you accelerate the dm, it could be faster than normal search

0 Karma
Get Updates on the Splunk Community!

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...