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.

Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...