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

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...