Splunk Search

Is there a way to make automatic lookups only use the local lookup table that exists on my search head?

Flynt
Splunk Employee
Splunk Employee

From my search flashtimeline I can tell my search head in a distributed environment to only use the local lookup file by adding local=true to my lookup statement. Is there a way to make automatic lookups only use the local lookup table that exists on my Search Head?

Labels (1)
1 Solution

hexx
Splunk Employee
Splunk Employee

Looking at props.conf.spec and transforms.conf.spec, there doesn't seem to be a way to configure an automatic lookup to occur only locally on the search-head.

Time to file an enhancement request!

View solution in original post

elewis1
Path Finder

I know this is old, but it's the first Google result.

A workaround is Calculated fields can use |eval lookup(). The lookup must be a .csv file on the search head(s).

 

https://docs.splunk.com/Documentation/Splunk/latest/Knowledge/definecalcfields

https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/ConditionalFunctions

0 Karma

nunoaragao
Path Finder

To @potnuru  and others that might fall here .. there is a setting on transforms.conf called replicate to: 

Indicates whether to replicate CSV lookups to indexers

 

rquish
Engager

This is the solution I was looking for. The lookup definition UI does not have the option to keep it local like the SPL does. This is effectively making the lookup local wherever/whenever called.

Thanks for insight... better late than never 🙂

0 Karma

hexx
Splunk Employee
Splunk Employee

Looking at props.conf.spec and transforms.conf.spec, there doesn't seem to be a way to configure an automatic lookup to occur only locally on the search-head.

Time to file an enhancement request!

potnuru
Path Finder

Hi @hexx Is there a way to configure an automatic lookup to occur only locally on the search-head now?

0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...