Getting Data In

How to determine which indexer received an event and how to output a graph with count by indexer?

ateterine
Path Finder

Hi Splunkers,

I am sure I've seen this before, but cannot remember.

In the cluster of 3 indexers and replication factor of 3 I am trying to determine which indexer receives an event, which field can I use to indicate that?

Essentially I would like to output a graph with count by indexer/host etc.

Thank you!

Tags (3)
0 Karma

xpac
SplunkTrust
SplunkTrust

Hey,

by default, you can't. There is a field splunk_server, but it only shows which indexer returned that event and might be different in every search, because a different indexer might return a different subset of the result.
If you really want to know which indexer received an event, i.e. parsed and processed it, you could add an config for an index-time field on every indexer and set that field to that indexer's name. However, this only works for newly indexed data and might slightly increase disk space used.

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

0 Karma

ateterine
Path Finder

Thanks @xpac is there a way to get this info from DMC?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...