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!

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...

Secure Your Future: Mastering Upgrade Readiness for Splunk 10

Spotlight: The Splunk Health Assistant Add-On  The Splunk Health Assistant Add-On is your ultimate companion ...

Observability Unlocked: Kubernetes & Cloud Monitoring with Splunk IM

Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team on ...