Deployment Architecture

How to match the _bkt values from a search to the bucket names/directories?

louieb3
Path Finder

I am trying to troubleshoot event issues and am trying to trace particular events into the buckets where they reside. I ran a search based on _bkt but the values for this field are something like:

indexName~1~6B6A510F-0324-452D-AE2C-D61027E2216C

bucket names are db_123456789_123456789_1234

Does anyone know how to match the _bkt values to the bucket names?

Tags (2)
0 Karma

mgaraventa_splu
Splunk Employee
Splunk Employee

If I understand your question correctly, what you need is the dbinspect command. There you can correlate bucketIds (for instance indexName~1~6B6A510F-0324-452D-AE2C-D61027E2216C) with the bucket folder name (for instance db_123456789_123456789_1234).

If for instance you would like to inspect the complete index, you could do:

|dbinspect index=indexName

otherwise you can filter down either to the bucketId:

|dbinspect index=indexName
| where bucketId ="indexName~1~6B6A510F-0324-452D-AE2C-D61027E2216C"

or to the specific bucket folder name:

|dbinspect index=indexName
| where path = "/Applications/splunks/splunk6.2.4/var/lib/splunk/indexName/db/db_123456789_123456789_1234"

Hope this helps.

0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...