Splunk Search

In a Distributed Search environment, how do I restrict my search to a particular peer or peers?

Champion

Splunk does such an awesome job with distributed search. It seems like all my data is on one server (my search head) when, in reality, Splunk is running searches against multiple indexing servers that I have configured as peers.

Is there some way for me to restrict my search to a particular peer?

Tags (2)
1 Solution

Champion

The splunk_server field specifies the peer:

splunk_server=<peer_name>

You can use the value "local" to refer to the Splunk instance that you are searching from; in other words, the search head itself:

splunk_server=local

View solution in original post

Champion

The splunk_server field specifies the peer:

splunk_server=<peer_name>

You can use the value "local" to refer to the Splunk instance that you are searching from; in other words, the search head itself:

splunk_server=local

View solution in original post

Communicator

See the splunk_server field, it tells you which indexer the event came from.

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!