Splunk Search

Where to put scripts in a search head pool?

pkeller
Contributor

We have a search head pool which share etc/apps under a NAS export ... /pool/etc/apps

The documention indicates that if you want to run a scheduled search through a script, you should put the script in $SPLUNK_HOME/bin/scripts ... but $SPLUNK_HOME/bin is not included in the pooling ...

So, is there an appropriate location under /pool/etc/apps where the scheduled job should look for the script?

1 Solution

pkeller
Contributor

Would it be appropriate to create a symlink on all members of the pool so that $SPLUNK_HOME/bin/scripts points to /pool/scripts? ( planning on testing that anyway )

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...