<?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: Who to split up $SPLUNK_DB and colddb in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280382#M53654</link>
    <description>&lt;P&gt;Now, wait a minute.  Your post indicated that you wanted to move only colddb, right?  Well, it you change the value of SPLUNK_DB (which is possible) then that affects your hot/warm buckets as well as cold.&lt;/P&gt;

&lt;P&gt;If you want to relocate only your colddb buckets then you have to edit the indexes.conf file.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2016 12:28:58 GMT</pubDate>
    <dc:creator>lycollicott</dc:creator>
    <dc:date>2016-07-26T12:28:58Z</dc:date>
    <item>
      <title>Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280378#M53650</link>
      <description>&lt;P&gt;I have many indexes on my three indexers.  I have attached NSF shares for the colddb.  All the indexes are at $SPLUNK_DB/indexname/colddb.  &lt;/P&gt;

&lt;P&gt;If I stop splunk and copy all the cold buckets to a new share&lt;BR /&gt;
&lt;CODE&gt;rsync -Rv --archive */colddb/* /mnt/cs-1/splunk/&lt;/CODE&gt;&lt;BR /&gt;
How can I pint splunk to the new location at startup?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 19:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280378#M53650</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-07-25T19:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280379#M53651</link>
      <description>&lt;P&gt;Edit your indexes.conf file and change the cold setting for each index.&lt;/P&gt;

&lt;P&gt;For example, change this" &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;coldPath   = $SPLUNK_DB\defaultdb\colddb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to this:&lt;/P&gt;

&lt;P&gt;coldPath   =\your_newpath\defaultdb\colddb&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 20:04:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280379#M53651</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-07-25T20:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280380#M53652</link>
      <description>&lt;P&gt;Let me clarify something for you ....&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Stop splunk first &lt;/LI&gt;
&lt;LI&gt;Do your rsync &lt;/LI&gt;
&lt;LI&gt;Edit indexes.conf &lt;/LI&gt;
&lt;LI&gt;Start splunk.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 25 Jul 2016 20:04:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280380#M53652</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-07-25T20:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280381#M53653</link>
      <description>&lt;P&gt;thanks but there are many indexes.conf to edit.  I was looking for something that would change the default behavior.  Perhaps something in the splunk-launch.conf where the defualt SPLUNK_DB is located?  &lt;/P&gt;

&lt;P&gt;Thanks for the response.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 12:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280381#M53653</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-07-26T12:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280382#M53654</link>
      <description>&lt;P&gt;Now, wait a minute.  Your post indicated that you wanted to move only colddb, right?  Well, it you change the value of SPLUNK_DB (which is possible) then that affects your hot/warm buckets as well as cold.&lt;/P&gt;

&lt;P&gt;If you want to relocate only your colddb buckets then you have to edit the indexes.conf file.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 12:28:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280382#M53654</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-07-26T12:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280383#M53655</link>
      <description>&lt;P&gt;thanks that is the answer I was hoping not to get.  I was hoping someone had a way to address where the cold buckets were without having to edit all the indexes.conf for all the the apps that have been installed along with all the data sources that have been added. looks like 86 different indexes to edit in about 14 different indexes.conf files and some are default so I will have to create some new indexes.conf.  I was hoping for a better answer that the one you provided.&lt;/P&gt;

&lt;P&gt;Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 16:25:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280383#M53655</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-07-26T16:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280384#M53656</link>
      <description>&lt;P&gt;I have never tried this myself, but I wonder if you could create a new variable SPLUNK_COLDDB in splunk-launch.conf.  Unfortunately you would still have to edit indexes.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 16:35:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280384#M53656</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-07-26T16:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280385#M53657</link>
      <description>&lt;P&gt;That is a great idea.  I will try it.  &lt;/P&gt;

&lt;P&gt;Create Veritable called SPLUNK_COLDDB in splunk-launch.conf&lt;BR /&gt;
Replace &lt;CODE&gt;"coldPath = $SPLUNK_DB"&lt;/CODE&gt; with &lt;CODE&gt;"coldPath = $SPLUNK_COLDDB"&lt;/CODE&gt; in 84 locations&lt;/P&gt;

&lt;P&gt;Is there a way to change the default coldPath for newly created indexes&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:22:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280385#M53657</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2020-09-29T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280386#M53658</link>
      <description>&lt;P&gt;I doubt it.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 17:37:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280386#M53658</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-07-26T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280387#M53659</link>
      <description>&lt;P&gt;I just tried a new variable and it did work.  LOL, give me some karma  HaHa&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280387#M53659</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-07-26T19:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280388#M53660</link>
      <description>&lt;P&gt;Part of what @lycollicott  suggested solved my problem  I created a new veritable in splunk-launch.conf then did a global search and replace in all the indexes.conf for the new veritable to the "colddb = $SPLUNK_COLDDB" This will have to be changed for every new index that is created in the future.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 20:19:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/280388#M53660</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2016-07-26T20:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Who to split up $SPLUNK_DB and colddb</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/575312#M101685</link>
      <description>&lt;P&gt;Is there another configuration file that I can set the $COLD_DB Variable in so that I can "override" the default configuration from an app?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 19:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Who-to-split-up-SPLUNK-DB-and-colddb/m-p/575312#M101685</guid>
      <dc:creator>ebwong</dc:creator>
      <dc:date>2021-11-17T19:30:19Z</dc:date>
    </item>
  </channel>
</rss>

