All Apps and Add-ons

Warm Databases not moving to cold database location

esanz07
Explorer

I modified $SPLUNK_HOME/etc/system/local/indexes.conf for the specific index to keep only 10 warm databases; however, it is not working as I have over 160 warm databases in my local disk under the "db" directory.

Is this the incorrect file?

Configuration as follows:

[serverlogs]
coldPath = /mnt/splunk_data/serverlogs_01/colddb
homePath = /splunk_data/serverlogs/db
thawedPath = /mnt/splunk_data/serverlogs_01/thaweddb
maxWarmDBCount = 10

Version: 4.1.3

Tags (3)

gkanapathy
Splunk Employee
Splunk Employee

Does Splunk have permissions or any problems writing to the coldPath? Also, are there any indications in splunkd.log of any problems (or successes) rolling the warm buckets?

0 Karma

esanz07
Explorer

Yes; several times.

The changes were made several restarts ago.

Any other ideas?

0 Karma

Genti
Splunk Employee
Splunk Employee

did you restart the server once you changed the configuration?

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!