Deployment Architecture

How do you get the bucket info (name/path) to use with coldToFrozen script

bnolf
Engager

The example coldToFrozen script that comes with splunk, requires the name and path of the bucket to be frozen. Once it gets that it deletes everything from the bucket except for the rawdata. This is fine and dandy, but how do you pass it the bucket info?

If you use a the cold2frozenDir, you could run a script to archive the buckets in there and to remove replicated buckets.

The example script isn't very useful if you don't have the bucket.

thanks

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You don't.

By specifying coldToFrozenScript in indexes.conf, splunk takes care of calling the script with the appropriate parameters when a bucket is due to be frozen.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...