Deployment Architecture

Time range of frozen bucket

rgoodwin152
Loves-to-Learn Lots

Is there a command that I can run that will show me the time range for the events that are in a frozen bucket. We would like to determine the TimeRange of the frozen bucket so we know if we can delete it or restore it.

0 Karma

nickhills
Ultra Champion

The time range for a bucket is given in the buckets file name (this is also the case for warm/cold buckets too)

e.g
db_1552617140_1552530786_3000524

this bucket contains events from Thursday, 14 March 2019 02:33:06 - 15 March 2019 02:32:20
Where the first numeric value is the latest time (in epoch)
The second numeric value is the earliest time (in epoch)
The third numeric is the bucket ID

Once a bucket is frozen, Splunk essentially 'forgets' about it - there is no ongoing record of historic frozen buckets, so you have to use the filename.
Although, your _internal index will have records of the freezing actions taken recently (depending on your _internal retention) so you may be able to extract some data from these logs for recently frozen buckets.
You could build a search to collate all the recently frozen buckets and write this to a lookup to preserve an ongoing record which you would then be able to query.

If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

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

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

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