Monitoring Splunk

With coldToFrozenScript, what is responsible for deleting the bucket?

dwaddle
SplunkTrust
SplunkTrust

When you specify a coldToFrozenScript in indexes.conf, what is responsible for deleting the cold bucket from the indexer's disc? (eg, is it your script, or does Splunk delete it once your script has done whatever it's gonna do?)

I would have assumed the script would be responsible, but the example of compressedExport.sh does not show it actually deleting the bucket's data from the disk.

Tags (1)
1 Solution

amrit
Splunk Employee
Splunk Employee

Splunkd will delete the bucket after running your coldToFrozenScript. Your script can delete the bucket if it wishes, and Splunkd will handle this case without errors, but the main reason for the script is to give you a chance to archive your data however you wish before the bucket is deleted.

View solution in original post

amrit
Splunk Employee
Splunk Employee

Splunkd will delete the bucket after running your coldToFrozenScript. Your script can delete the bucket if it wishes, and Splunkd will handle this case without errors, but the main reason for the script is to give you a chance to archive your data however you wish before the bucket is deleted.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...