Getting Data In

Is it ok to mix volumes and paths in indexes.conf?

jeski
Engager

Hi, we have three clustered indexers and are looking to leverage slow disks for the cold paths. I'm wondering if it is acceptable to only have a volume configuration for this. Or must the home paths also be defined as a volume (Yes a noob). I'm considering something like this in the indexes.conf:

[volume:cold]
path = /path/to/slower/disk
# 5TB with some headroom leftover (data summaries, etc)
maxVolumeDataSizeMB = 4600000

And then reference the path to the cold volume:

[adf]
thawedPath = $SPLUNK_DB/adf/thaweddb
homePath = $SPLUNK_DB/adf/db
coldPath = $SPLUNK_DB/adf/colddb
coldPath   = volume:cold/adf/colddb
0 Karma
1 Solution

xpac
SplunkTrust
SplunkTrust

Hey,

that's perfectly fine, if you remove the second last line, like this:

[volume:cold]
path = /path/to/slower/disk
# 5TB with some headroom leftover (data summaries, etc)
maxVolumeDataSizeMB = 4600000

[adf]
thawedPath = $SPLUNK_DB/adf/thaweddb
homePath = $SPLUNK_DB/adf/db
coldPath = volume:cold/adf/colddb

You're not required to either go all volumes or no volumes at all - you can mix it. 🙂

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

View solution in original post

xpac
SplunkTrust
SplunkTrust

Hey,

that's perfectly fine, if you remove the second last line, like this:

[volume:cold]
path = /path/to/slower/disk
# 5TB with some headroom leftover (data summaries, etc)
maxVolumeDataSizeMB = 4600000

[adf]
thawedPath = $SPLUNK_DB/adf/thaweddb
homePath = $SPLUNK_DB/adf/db
coldPath = volume:cold/adf/colddb

You're not required to either go all volumes or no volumes at all - you can mix it. 🙂

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

jeski
Engager

thank you!

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...