Splunk Search

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

the_wolverine
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

the_wolverine
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

the_wolverine
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

oreoshake
Communicator

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

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...