Splunk Enterprise

coldToFrozenDir question

TheJagoff
Communicator

I have a coldToFrozenScript that controls all of the indexes at an installation. I want the data in the "main" index to simply be deleted when it's time to be frozen.

My question is, if I set the coldToFrozenDir for the "main" stanza in indexes.conf to a blank, will it delete the buckets? 

coldToFrozenDir = 

 

Thank you. 

Labels (1)
0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Hi @TheJagoff 

If you do not want your main index buckets to be frozen then you should set both coldToFrozenDir and coldToFrozenScript to blank values (which is the default unless specified elsehwere).

coldToFrozenDir =
coldToFrozenScript =

By not setting coldToFrozenDir and not having a coldToFrozenScript, you effectively cause the data to be deleted when frozen.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

View solution in original post

livehybrid
SplunkTrust
SplunkTrust

Hi @TheJagoff 

If you do not want your main index buckets to be frozen then you should set both coldToFrozenDir and coldToFrozenScript to blank values (which is the default unless specified elsehwere).

coldToFrozenDir =
coldToFrozenScript =

By not setting coldToFrozenDir and not having a coldToFrozenScript, you effectively cause the data to be deleted when frozen.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...