Alerting

Searches to detect buckets going to frozen

cramasta
Builder

Does anyone have any good searches they use for detecting when data is rolled to frozen? Basically just want to setup an alert that will let me know that I have started to get rid of data.

Thanks

Tags (2)
0 Karma
1 Solution

kristian_kolb
Ultra Champion

Look in the _internal index like so;

index=_internal sourcetype=splunkd component=BucketMover

and you'll see some events looking like this

10-07-2013 20:55:59.803 +0200 INFO  BucketMover - AsyncFreezer freeze succeeded for bkt='C:\Program Files\Splunk\var\lib\splunk\_internaldb\db\db_1378752950_1378278490_56'

Hope this helps,

K

View solution in original post

twollenslegel_s
Splunk Employee
Splunk Employee

In a clustered environment it will be slightly different;

index=_internal sourcetype=splunkd component=BucketMover "RemoteStorageAsyncFreezer freeze completed succesfully"

(and yes, at least as of spunk 7.0.3.8 it is spelled incorrectly in the logs)

08-21-2018 14:42:09.186 +0000 INFO  BucketMover - RemoteStorageAsyncFreezer freeze completed succesfully for bid=_internal~122~07CFCEF1-588B-4F02-AD1F-8FD284A77955
8-21-2018 14:42:09.172 +0000 INFO  BucketMover - RemoteStorageAsyncFreezer trying to freeze bid=_internal~122~07CFCEF1-588B-4F02-AD1F-8FD284A77955, freezeInitiatedByAnotherPeer=true
0 Karma

kristian_kolb
Ultra Champion

Look in the _internal index like so;

index=_internal sourcetype=splunkd component=BucketMover

and you'll see some events looking like this

10-07-2013 20:55:59.803 +0200 INFO  BucketMover - AsyncFreezer freeze succeeded for bkt='C:\Program Files\Splunk\var\lib\splunk\_internaldb\db\db_1378752950_1378278490_56'

Hope this helps,

K

cramasta
Builder

exactly what i was looking for thank you.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...