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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...