Knowledge Management

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

Splunk Employee
Splunk Employee

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

Tags (1)
0 Karma

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.earliesttime) as etime | convert ctime(cm:bucket.latesttime) 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