Deployment Architecture

Can I find where an event is located in splunk ?

mataharry
Communicator

I am trying to localize where my events are located.
- in which indexer
- in which index
- in which bucket

Can I use a search to do that ?

Tags (2)
1 Solution

yannK
Splunk Employee
Splunk Employee

There are internal fields that can tell you that:

  • _bkt -> the bucket, You will have to cast them into a readable field.
  • index -> the index
  • splunk_server -> the indexer
  • PS : there is a _cd field that contains an event id per bucket.

< myevent > | eval cd=_cd | eval bkt= _bkt | table cd bkt index splunk_server _time source host sourcetype _raw

View solution in original post

yannK
Splunk Employee
Splunk Employee

There are internal fields that can tell you that:

  • _bkt -> the bucket, You will have to cast them into a readable field.
  • index -> the index
  • splunk_server -> the indexer
  • PS : there is a _cd field that contains an event id per bucket.

< myevent > | eval cd=_cd | eval bkt= _bkt | table cd bkt index splunk_server _time source host sourcetype _raw

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...