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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...