Deployment Architecture

Distributed search and scripted lookups

bharaths
New Member

In a distributed search environment, do the python files for scripted lookups have to be placed manually on the indexers?
Or is it ok to just place the files in the search head, and allow it to replicate the scripts onto the indexers?

0 Karma
1 Solution

Ayn
Legend

The lookup scripts will be included in the bundles that are replicated to the search peers, so you won't have to copy those manually.

Just make sure you keep track of where the lookup is run - the search head will be ultimately responsible for bringing together the search results at some point in the search, so if you run a lookup after that point it'll be the search head running it, not the search peers.

View solution in original post

0 Karma

Ayn
Legend

The lookup scripts will be included in the bundles that are replicated to the search peers, so you won't have to copy those manually.

Just make sure you keep track of where the lookup is run - the search head will be ultimately responsible for bringing together the search results at some point in the search, so if you run a lookup after that point it'll be the search head running it, not the search peers.

0 Karma

Dbshah
Splunk Employee
Splunk Employee

I am getting "Read TimeoutError" for scripted lookup like below:

Problem replicating config (bundle) to search peer ' <indexerip>:8089 ', Upload bundle="/opt/splunk/var/run/7CAA9ED1-1C47-433B-83A2-5FBC5B25691E-1593006032.bundle" to peer name=c1idx3taf.cdsys.local uri=https://<indexerip>:8089 failed; error="Read Timeout".

Am I doing something wrong?

0 Karma

bharaths
New Member

Thanks, placing the script on the search head worked perfectly

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...