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!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...