Getting Data In

Do I need to define coldToFrozenDir in indexes.conf to move old colddb data to before deletion?

sim_tcr
Communicator

Hello,

Our indexer is getting full because of lot of old colddb data. I am checking the option of coldToFrozenDir and then delete the contents inside coldToFrozenDir. Right now I don't see any folder called frozendb in my indexer.
Should I also define coldToFrozenDir = $SPLUNK_COLD_DB/fens/frozendb to get older data moved there?

Below is sample from our indexes.conf

[fens]
repFactor=auto
homePath = $SPLUNK_DB/fens/db
coldPath = $SPLUNK_COLD_DB/fens/colddb
thawedPath = $SPLUNK_DB/fens/thaweddb
maxWarmDBCount = 10
frozenTimePeriodInSecs = 2592000
maxDataSize = auto_high_volume
# this index will exceed the default of .5TB requiring a change to maxTotalDataSizeMB
maxTotalDataSizeMB = 1100000
0 Karma

jkat54
SplunkTrust
SplunkTrust

By default "freezing data" is synonymous with "deleting data" in Splunk.

There is no need for a coldToFrozenDir if you really just want to delete the data.

If you want to keep the data for some time before manually deleting it, then yes you will set coldToFrozenDir in indexes.conf but you would probably want it somewhere else like /mnt/externalstorage/old_data_to_be_deleted_here/.

Give this article a careful read:
http://docs.splunk.com/Documentation/Splunk/6.4.1/Indexer/HowSplunkstoresindexes

Get Updates on the Splunk Community!

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...