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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...