<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem parsing indexes.conf: Cannot load IndexConfig: ... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341866#M62983</link>
    <description>&lt;P&gt;Hi guys, &lt;/P&gt;

&lt;P&gt;I'm new to dealing with .conf files so I'm having a practice on my own home splunk instance. My goal is to try and create an index named "lapd" from indexes.conf and then upload a datafile to this index via inputs.conf &lt;/P&gt;

&lt;P&gt;I've made an app named Dataload and I am storing all the config in the local folder of this app&lt;/P&gt;

&lt;P&gt;my indexes.conf file is: &lt;/P&gt;

&lt;P&gt;[volume:primary]&lt;BR /&gt;
path = /Applications/Splunk/&lt;/P&gt;

&lt;P&gt;[LAPD]&lt;BR /&gt;
homePath   = volume:primary/defaultdb/db&lt;BR /&gt;
coldPath   = volume:primary/defaultdb/colddb&lt;BR /&gt;
thawedPath = $SPLUNK_DB/defaultdb/thaweddb&lt;/P&gt;

&lt;P&gt;When I try and start splunk I get this error message:&lt;/P&gt;

&lt;P&gt;Problem parsing indexes.conf: Cannot load IndexConfig: index=main Path=/Applications/Splunk/var/lib/splunk/defaultdb/db given as value of param=homePath collides with value of param2=homePath of index2=lapd.&lt;BR /&gt;
Validating databases (splunkd validatedb) failed with code '1'.  If you cannot resolve the issue(s) above after consulting documentation, please file a case online at &lt;A href="http://www.splunk.com/page/submit_issue"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Does anyone have any idea why this might be? Any help would be appreciated. &lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2017 17:06:31 GMT</pubDate>
    <dc:creator>Robbie1194</dc:creator>
    <dc:date>2017-08-02T17:06:31Z</dc:date>
    <item>
      <title>Problem parsing indexes.conf: Cannot load IndexConfig: ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341866#M62983</link>
      <description>&lt;P&gt;Hi guys, &lt;/P&gt;

&lt;P&gt;I'm new to dealing with .conf files so I'm having a practice on my own home splunk instance. My goal is to try and create an index named "lapd" from indexes.conf and then upload a datafile to this index via inputs.conf &lt;/P&gt;

&lt;P&gt;I've made an app named Dataload and I am storing all the config in the local folder of this app&lt;/P&gt;

&lt;P&gt;my indexes.conf file is: &lt;/P&gt;

&lt;P&gt;[volume:primary]&lt;BR /&gt;
path = /Applications/Splunk/&lt;/P&gt;

&lt;P&gt;[LAPD]&lt;BR /&gt;
homePath   = volume:primary/defaultdb/db&lt;BR /&gt;
coldPath   = volume:primary/defaultdb/colddb&lt;BR /&gt;
thawedPath = $SPLUNK_DB/defaultdb/thaweddb&lt;/P&gt;

&lt;P&gt;When I try and start splunk I get this error message:&lt;/P&gt;

&lt;P&gt;Problem parsing indexes.conf: Cannot load IndexConfig: index=main Path=/Applications/Splunk/var/lib/splunk/defaultdb/db given as value of param=homePath collides with value of param2=homePath of index2=lapd.&lt;BR /&gt;
Validating databases (splunkd validatedb) failed with code '1'.  If you cannot resolve the issue(s) above after consulting documentation, please file a case online at &lt;A href="http://www.splunk.com/page/submit_issue"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Does anyone have any idea why this might be? Any help would be appreciated. &lt;/P&gt;

&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 17:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341866#M62983</guid>
      <dc:creator>Robbie1194</dc:creator>
      <dc:date>2017-08-02T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing indexes.conf: Cannot load IndexConfig: ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341867#M62984</link>
      <description>&lt;P&gt;You have used the path for the main (default) index for the LAPD index.&lt;/P&gt;

&lt;P&gt;It should be like this&lt;BR /&gt;
[LAPD]&lt;BR /&gt;
homePath = volume:primary/LAPD/db&lt;BR /&gt;
coldPath = volume:primary/LAPD/colddb&lt;BR /&gt;
thawedPath = $SPLUNK_DB/LAPD/thaweddb&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 17:13:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341867#M62984</guid>
      <dc:creator>bheemireddi</dc:creator>
      <dc:date>2017-08-02T17:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing indexes.conf: Cannot load IndexConfig: ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341868#M62985</link>
      <description>&lt;P&gt;Exactly. &lt;BR /&gt;
For completeness, this is the definition for the main index (from &lt;STRONG&gt;$SPLUNK_HOME/etc/system/default/indexes.conf&lt;/STRONG&gt;)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[main]
homePath   = $SPLUNK_DB/defaultdb/db
coldPath   = $SPLUNK_DB/defaultdb/colddb
thawedPath = $SPLUNK_DB/defaultdb/thaweddb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hence the path collision, since you cannot use the same path for two different indices.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 20:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341868#M62985</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-08-02T20:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing indexes.conf: Cannot load IndexConfig: ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341869#M62986</link>
      <description>&lt;P&gt;Thanks guys that was exactly it!&lt;/P&gt;

&lt;P&gt;Got my inputs.conf working too! &lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 20:23:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341869#M62986</guid>
      <dc:creator>Robbie1194</dc:creator>
      <dc:date>2017-08-02T20:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing indexes.conf: Cannot load IndexConfig: ...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341870#M62987</link>
      <description>&lt;P&gt;The interesting thing is that btool check does not detect this collision.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 21:59:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-parsing-indexes-conf-Cannot-load-IndexConfig/m-p/341870#M62987</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-03-07T21:59:20Z</dc:date>
    </item>
  </channel>
</rss>

