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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...