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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...