<?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 Remove data after moving index location in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Remove-data-after-moving-index-location/m-p/485362#M83078</link>
    <description>&lt;P&gt;I just moved my homePath and coldPath to a new location, and wanted to delete the data stored on Splunk's default index location ($SPLUNK_DB). I would leave it, but it's using the bulk of that partition. Can I simply delete these files, or will they fall off from the relocate?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2019 18:20:06 GMT</pubDate>
    <dc:creator>ejwade</dc:creator>
    <dc:date>2019-11-14T18:20:06Z</dc:date>
    <item>
      <title>Remove data after moving index location</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-data-after-moving-index-location/m-p/485362#M83078</link>
      <description>&lt;P&gt;I just moved my homePath and coldPath to a new location, and wanted to delete the data stored on Splunk's default index location ($SPLUNK_DB). I would leave it, but it's using the bulk of that partition. Can I simply delete these files, or will they fall off from the relocate?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 18:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-data-after-moving-index-location/m-p/485362#M83078</guid>
      <dc:creator>ejwade</dc:creator>
      <dc:date>2019-11-14T18:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Remove data after moving index location</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-data-after-moving-index-location/m-p/485363#M83079</link>
      <description>&lt;P&gt;If you moved the indexes folders paths, splunk should only know and use the new location for the new data.&lt;BR /&gt;
You should be able to remove the old folders safely.&lt;/P&gt;

&lt;P&gt;BUT : remove the index folders only, but do not delete the kvstore or the other modinputs and persistent storage, those are not indexes, even if they are stored on the same folders.&lt;/P&gt;

&lt;P&gt;PS : if you wanted to relocate all of $SPLUNK_HOME. the trick is to edit the etc/splunk-launch.conf to give it a new path.&lt;/P&gt;

&lt;P&gt;PS : as the $SPLUNK_DB is a default, it may be used for many indexes (and apps), you can verify if you missed something after a restart (the missing folders will be recreated)&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 19:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-data-after-moving-index-location/m-p/485363#M83079</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2019-11-14T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove data after moving index location</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Remove-data-after-moving-index-location/m-p/485364#M83080</link>
      <description>&lt;P&gt;Thanks, @yannK. I was able to delete folders with no issues.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 20:06:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Remove-data-after-moving-index-location/m-p/485364#M83080</guid>
      <dc:creator>ejwade</dc:creator>
      <dc:date>2019-11-14T20:06:36Z</dc:date>
    </item>
  </channel>
</rss>

