Deployment Architecture

What's this duplicate bucket in my index?

jrodman
Splunk Employee
Splunk Employee

I've got bucket in my defaultdb/db named things like db_1282889175_1282864311_6-duplicate-0/ What are they? Should I do something about them?

Tags (2)
1 Solution

jrodman
Splunk Employee
Splunk Employee

This will happen if you end up with duplicate bucket ids in your index while splunk is running.

Some really weird problem with network filesystem might be responsible (do not use network filesystems for index and search unless you can guarantee their reliability). Bugs in a custom warmToCold script could be responsible. Pointing two splunk executables at one directory could be responsible.

It's pretty hard to make this happen.

But if it does happen, splunk may rename the warm bucket to this duplicate name.

Recommended steps:

  • Determine if the 'duplicate' bucket is an exact duplicate of one in cold, in which case it can simply be deleted
  • Determine if the 'duplicate' bucket is so old you don't care about the contents, in which case it can be deleted
  • If neither of the above is true, it might make sense to manually rename the bucket to a new id that does not conflict with any of the ones in your index. Likely it will be old and will be moved to cold (and possibly archived) in short order.

View solution in original post

jrodman
Splunk Employee
Splunk Employee

This will happen if you end up with duplicate bucket ids in your index while splunk is running.

Some really weird problem with network filesystem might be responsible (do not use network filesystems for index and search unless you can guarantee their reliability). Bugs in a custom warmToCold script could be responsible. Pointing two splunk executables at one directory could be responsible.

It's pretty hard to make this happen.

But if it does happen, splunk may rename the warm bucket to this duplicate name.

Recommended steps:

  • Determine if the 'duplicate' bucket is an exact duplicate of one in cold, in which case it can simply be deleted
  • Determine if the 'duplicate' bucket is so old you don't care about the contents, in which case it can be deleted
  • If neither of the above is true, it might make sense to manually rename the bucket to a new id that does not conflict with any of the ones in your index. Likely it will be old and will be moved to cold (and possibly archived) in short order.
Get Updates on the Splunk Community!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...