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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...