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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...