<?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 Re: Syntax when creating volumes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43351#M8085</link>
    <description>&lt;P&gt;Shouldn't the path be (I may be wrong);&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;path = d:\Program Files\Splunk\var\lib\splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, have a look at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You need a define a volume per hot, cold etc. The directory structure is included within the volume definition so your index definition would instead be;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[os]
homePath = volume:splunkdatahot/os
coldPath = volume:splunkdatacold/os
thawedPath = $SPLUNK_DB/os/thaweddb
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 04 May 2012 08:20:10 GMT</pubDate>
    <dc:creator>Drainy</dc:creator>
    <dc:date>2012-05-04T08:20:10Z</dc:date>
    <item>
      <title>Syntax when creating volumes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43350#M8084</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to create my first Splunk-volume and to set an index to point to this volume. But when I try to start Splunk I get the error-message shown below. My config is shown below the error. Can somebody tell what is wrong in my config? What I want is to define a volume pointing to the directory above the directory for the indexes and then use this volume for all indexes.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Error-message:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Problem parsing indexes.conf: Index stanza 'os' refers to non-existent volume 'v
olume:splunkdata/os/db'
Validating databases (splunkd validatedb) failed with code '1'.  Please file a c
ase online at &lt;A href="http://www.splunk.com/page/submit_issue" target="test_blank"&gt;http://www.splunk.com/page/submit_issue&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;My config in indexes.conf:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# Volume for lagring av Splunk-data 03.05.2012 (TEE)

[volume:splunkdata]
path = d:/Program Files/Splunk/var/lib/splunk
maxVolumeDataSizeMB = 350000

[os]
homePath = volume:splunkdata/os/db
coldPath = volume:splunkdata/os/colddb
thawedPath = $SPLUNK_DB/os/thaweddb
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 May 2012 08:08:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43350#M8084</guid>
      <dc:creator>thoree</dc:creator>
      <dc:date>2012-05-04T08:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax when creating volumes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43351#M8085</link>
      <description>&lt;P&gt;Shouldn't the path be (I may be wrong);&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;path = d:\Program Files\Splunk\var\lib\splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, have a look at &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/indexesconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You need a define a volume per hot, cold etc. The directory structure is included within the volume definition so your index definition would instead be;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[os]
homePath = volume:splunkdatahot/os
coldPath = volume:splunkdatacold/os
thawedPath = $SPLUNK_DB/os/thaweddb
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 May 2012 08:20:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43351#M8085</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-05-04T08:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax when creating volumes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43352#M8086</link>
      <description>&lt;P&gt;Thanks for your answer. The problem was that I used the wrong "slashes", should be \ instead of /.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 08:40:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43352#M8086</guid>
      <dc:creator>thoree</dc:creator>
      <dc:date>2012-05-04T08:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax when creating volumes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43353#M8087</link>
      <description>&lt;P&gt;The problem was that I used wrong "slashes".&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 08:41:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43353#M8087</guid>
      <dc:creator>thoree</dc:creator>
      <dc:date>2012-05-04T08:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax when creating volumes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43354#M8088</link>
      <description>&lt;P&gt;Awesome. Feel free to click the tick under the arrows on the left to accept just to help others in future &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 08:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syntax-when-creating-volumes/m-p/43354#M8088</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-05-04T08:42:06Z</dc:date>
    </item>
  </channel>
</rss>

