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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...