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!

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...