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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...