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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...