<?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: moving indexes and .dat files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247776#M47773</link>
    <description>&lt;P&gt;Thank you the response. but my question wasn't around indexes, rather what is the .dat files for and what to do, if anything, once the indexes have been moved appropriately.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2016 16:32:40 GMT</pubDate>
    <dc:creator>brdr</dc:creator>
    <dc:date>2016-10-14T16:32:40Z</dc:date>
    <item>
      <title>moving indexes and .dat files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247774#M47771</link>
      <description>&lt;P&gt;We using Splunk Enterprise, 5.2.2 on Linux. We are moving the indexes to different storage devices depending on the buckets (hot/warm, cold, etc..). We will the volume stanza in the indexes.conf to manage this. Question, what is the .dat files used for found in /opt/splunk/var/lib/splunk for each of the indexes? And, do you I need to move them to the hot/warm db location - how do I manage these going forward after indexes have been appropriately moved?&lt;/P&gt;

&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 14:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247774#M47771</guid>
      <dc:creator>brdr</dc:creator>
      <dc:date>2016-10-14T14:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: moving indexes and .dat files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247775#M47772</link>
      <description>&lt;P&gt;Indexes configuration is in indexes.conf, that you can find in your app or in $SPLUNK_HOME/etc/system/local.&lt;/P&gt;

&lt;P&gt;You can know where is your indexes.conf using web interface [Settings -- Indexes] at the App column: &lt;BR /&gt;
- if there is system, you can find in $SPLUNK_HOME/etc/system/local;&lt;BR /&gt;
- if there's an app, you can find in $SPLUNK_HOME/etc/apps/yourapp/local,&lt;BR /&gt;
- sometimes it's in launcher app.&lt;/P&gt;

&lt;P&gt;To move an index you have to do:&lt;BR /&gt;
- stop Splunk,&lt;BR /&gt;
- move the full directory of your index to the new path,&lt;BR /&gt;
- modify indexes.conf with the new path,&lt;BR /&gt;
- restart Splunk.&lt;/P&gt;

&lt;P&gt;in indexes.conf you probably have $SPLUNK_DB/yourindex, you have to modify $SPLUNK_DB in the new path of your index.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247775#M47772</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: moving indexes and .dat files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247776#M47773</link>
      <description>&lt;P&gt;Thank you the response. but my question wasn't around indexes, rather what is the .dat files for and what to do, if anything, once the indexes have been moved appropriately.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 16:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247776#M47773</guid>
      <dc:creator>brdr</dc:creator>
      <dc:date>2016-10-14T16:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: moving indexes and .dat files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247777#M47774</link>
      <description>&lt;P&gt;Are you talking about splunk-autogen-params.dat?  It is sort of scratch space where splunkd writes information about how it is managing the buck.  (I'm not sure what that information means though.)&lt;/P&gt;

&lt;P&gt;You need to move the entire bucket folders, including splunk-autogen-params.dat.  Everything in the bucket folder has to move together.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 17:16:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247777#M47774</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-10-14T17:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: moving indexes and .dat files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247778#M47775</link>
      <description>&lt;P&gt;This question was answered in &lt;A href="https://answers.splunk.com/answers/442499/why-are-we-seeing-dat-files-created-in-the-cold-to.html"&gt;https://answers.splunk.com/answers/442499/why-are-we-seeing-dat-files-created-in-the-cold-to.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"These .dat files hold the next bucket ID to be created for that index, and they aren't influenced by homePath etc. settings in indexes.conf."&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 19:48:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/moving-indexes-and-dat-files/m-p/247778#M47775</guid>
      <dc:creator>baldwintm</dc:creator>
      <dc:date>2017-03-01T19:48:29Z</dc:date>
    </item>
  </channel>
</rss>

