Knowledge Management

[smartstore] For time based retention, how can we check if the bucket can be frozen?

rbal_splunk
Splunk Employee
Splunk Employee

Will like to understand, how to see if bucket are rolling as ber age based retention?

Tags (1)
0 Karma

rbal_splunk
Splunk Employee
Splunk Employee

You could use

| rest "/services/admin/cacheman/bid|_internal~106~33B81190-7EE1-4FCD-AC6D-DC4E3BEF7E1C|" | table cm:bucket.directory *time | convert ctime(cm:bucket.earliest_time) as e_time | convert ctime(cm:bucket.latest_time) as l_time

or

| dbinspect index=main cached=true| search state=warm OR state=cold| stats max(endEpoch) AS endEpoch BY bucketId| sort -endEpoch| search endEpoch<1548641953| fields bucketId

0 Karma
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 ...