Splunk Search

Are lookup tables indexed?

carmackd
Communicator

So how does splunk handle static lookup tables, are they indexed?

max_memtable_bytes =
* maximum size of static lookup file to use a in-memory index for
* Defaults to 10000000

Tags (1)
1 Solution

araitz
Splunk Employee
Splunk Employee

Once the csv file reaches 10 MB (by default; can be changed under max_memtable_bytes in limits.conf), then it is indexed to disk. You will see the index created in your apps lookup directory alongside the CSV.

View solution in original post

araitz
Splunk Employee
Splunk Employee

Once the csv file reaches 10 MB (by default; can be changed under max_memtable_bytes in limits.conf), then it is indexed to disk. You will see the index created in your apps lookup directory alongside the CSV.

araitz
Splunk Employee
Splunk Employee

We maintain an index of the lookup in memory until it reaches the 10 MB, so we are searching the index rather than scanning the table.

0 Karma

carmackd
Communicator

So if the lookup table file size is less than this magic number, does Splunk simply look through the table at search time?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...

Want to Reduce Costs, Mitigate Risk, Improve Performance, or Increase Efficiencies? ...

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

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...