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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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