Getting Data In

Attempting to run Splunk, why am I getting "Problem parsing indexes.conf: Cannot create index 3rdIndex: path of homePath must be absolute"?

athoma31
Explorer
[volume:primary]
path = opt/splunk/splunk_data
maxVolumeDataSizeMB = 2000000

[3rdIndex]
homePath   = volume:primary/3rdIndex/db
coldPath   = volume:cold/3rdIndex/colddb
thawedPath = $SPLUNK_DB/3rdIndex/thaweddb
maxDataSize = auto_high_volume

When attempting to run splunk, it results in the message:

Problem parsing indexes.conf: Cannot create index 3rdIndex: path of homePath must be absolute ('opt/splunk/splunk_data/3rdIndex/db') 

What's strange is that I have other indexers with the same stanzas in indexes.conf, except that on those, the volume definitions were split to a separate indexes.conf. Any ideas?

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Prepend a slash to your primary volume path and try again.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Prepend a slash to your primary volume path and try again.

0 Karma

athoma31
Explorer

There's no telling how many times I overlooked that simple mistake. Thanks!

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 ...