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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...