Splunk Search

Accelerating data model with dynamic lookup fields

lianjunj
Explorer

Hi,
I'm using 6.1.x and have built a data model with a dynamic lookup attribute inside. I wonder if I enable the acceleration on this data model, how the dynamic lookup attribute pick up the value change? For example, there is a status attribute with could change from day to day. If the new value is not picked up by the accelerated index, can I schedule the index rebuild by someway so that it refreshes every day?

0 Karma

jlhamlet
Path Finder

Hi

Have you found a solution to this problem ?

Regards,

0 Karma

lianjunj
Explorer

From the doc:
http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Acceleratedatamodels

"By default Splunk Enterprise automatically rebuilds persistently accelerated data models whenever it finds that those models are outdated. Data models can become outdated when the search stored in the data model configuration in savesearches.conf no longer matches the search for the actual data model. This can happen if the JSON file for an accelerated model is edited on disk without first disabling the model's acceleration.”

That’s almost what I’m looking for. I wonder how can I programmatically make the data model outdated?

0 Karma

lianjunj
Explorer

I could remove the summary file daily based on the cron schedule to force the index rebuild. Will that work?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...