Splunk Search

Where does my custom search command live?

mctester
Communicator

If I write a custom command, where does it need to be located if I have a distributed search setup? On the local splunk server which receives the distributed search?

0 Karma
1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

All search-time configuration in Splunk (e.g., extractions, eventtypes, tags, macros, lookups and search commands) should live on the search head that the user logs into. These resources are automatically packaged and shipped to the indexers that contain the data.

View solution in original post

Stephen_Sorkin
Splunk Employee
Splunk Employee

All search-time configuration in Splunk (e.g., extractions, eventtypes, tags, macros, lookups and search commands) should live on the search head that the user logs into. These resources are automatically packaged and shipped to the indexers that contain the data.

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!

Make your Splunk investment work harder with Optimization Advisor

Value Insights brings usage evidence and practical recommendations together to help customers make more ...

How Splunk AI Assistant Is Transforming Investigations: Insights from .conf26

At .conf26 in Denver, I spent much of my time in conversation with Splunk customers about Splunk AI Assistant. ...

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.   Thursday, November 12, 2026  |  11AM  PST / 2PM EST   ...