Splunk Search

How does Splunk handle lookups when accelerating a data model?

gschr
Path Finder

Hi,

in general terms I have a data model that is accelerated and that has a field that comes from a lookup. This lookup is constantly changing.

Now the question is does the field get only the values from the lookup in it's version when I started the acceleration (or restartet Splunk) or do the updates of the lookup reflect in the accelerated data model? If they do reflect then which delay could I expect?

Thank you in advance
Georg

0 Karma

micahkemp
Champion

The answer is depends on this setting in datamodels.conf:

acceleration.manual_rebuilds = <bool>
* ADVANCED: When set to 'true,' this setting prevents outdated summaries from 
  being rebuilt by the 'summarize' command.
* Normally, during the creation phase, the 'summarize' command automatically 
  rebuilds summaries that are considered to be out-of-date, such as when the 
  configuration backing the data model changes.
* The Splunk software considers a summary to be outdated when:
    * The data model search stored in its metadata no longer matches its current 
      data model search.
    * The search stored in its metadata cannot be parsed.
* NOTE: If the Splunk software finds a partial summary be outdated, it always 
  rebuilds that summary so that a bucket summary only has results corresponding to
  one datamodel search.
* Defaults to: false

The lookup file is a configuration backing the data model, so lookup changes would result in rebuilding the acceleration for datamodels where this is set to the default false.

It's worth noting that the CIM datamodels set this to true, so the CIM datamodels don't constantly rebuild. But if your datamodel is one you custom built, you would need to ensure this is set to true to avoid having the acceleration continuously rebuilt every time your lookup is updated.

Get Updates on the Splunk Community!

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...