<?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: Splunk Migration in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Migration/m-p/487810#M83508</link>
    <description>&lt;P&gt;Most of the migration instructions you'll find are for moving to a similar platform.  The 5 steps you found are good ones for moving your data.  Don't worry about changing file path delimiters, however, because step #3 will write the correct path to the new indexes.conf file.&lt;/P&gt;

&lt;P&gt;Don't forget to check the file paths in your other config files.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 00:14:07 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-04-28T00:14:07Z</dc:date>
    <item>
      <title>Splunk Migration</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Migration/m-p/487809#M83507</link>
      <description>&lt;P&gt;Hello Members,&lt;/P&gt;

&lt;P&gt;I have seen many,many posts on splunk migration. I am confused. I hope that I can get some direction on how to accomplish this correctly.&lt;/P&gt;

&lt;P&gt;Current splunk install: Windows 2012 running Splunk Ent 8.0.1&lt;BR /&gt;
New splunk install: RHEL7 x_64 linux running Splunk Ent 8.0.3&lt;/P&gt;

&lt;P&gt;I am going from Windws to Linux. I have seen posts where the suggestion is "copy all from $SPLUNK_HOME to the new instance" This does not quite make sense to me - and all the conf files on the Windows side will all have "non-linux" paths using the "\".  I have looked at my indexes.conf file, and other conf files and they have the path expressed Windows style.&lt;/P&gt;

&lt;P&gt;I have seen another post where you stop the old instance, and copy the buckets to the new instance like this:&lt;BR /&gt;
    1. Roll any hot buckets on the source host from hot to warm.&lt;BR /&gt;
    2. Review indexes.conf on the old host to get a list of the indexes on that host.&lt;BR /&gt;
    3. On the target host, create indexes that are identical to the ones on the source system.&lt;BR /&gt;
    4. Copy the index buckets from the source host to the target host.&lt;BR /&gt;
    5. Restart Splunk Enterprise.&lt;/P&gt;

&lt;P&gt;I will assume the 5 steps above would be for all indexes, both custom (in the local directory) and default (in the default directory - i would assume that all windows paths would have to be changed to linux style in the indexes.conf file and the inputs.conf file??&lt;/P&gt;

&lt;P&gt;I did a test with a simple index that was created just for testing. I created an indexes.conf file on the new server in the /etc/apps/search/local - revised the paths to linux. Then I copied the \var\lib\splunk\test-index directory to the LINUX machine using the forward-slash paths: "/".&lt;/P&gt;

&lt;P&gt;i then performed a search on this new index on the new server and it works fine.&lt;/P&gt;

&lt;P&gt;My basic question is if I copy all under $SPLUNK_HOME from windows do I have to change the paths? Or if I try the 5 part list above, does it just mean copy the  db data from \var\lib\splunk\ to the new server /var/lib/splunk/, and edit the indexes.conf and inputs.conf files accordingly??&lt;/P&gt;

&lt;P&gt;what about the mongo dir??&lt;/P&gt;

&lt;P&gt;Thanks so much,&lt;/P&gt;

&lt;P&gt;Eholz1 - Eric&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 21:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Migration/m-p/487809#M83507</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2020-04-27T21:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Migration</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Migration/m-p/487810#M83508</link>
      <description>&lt;P&gt;Most of the migration instructions you'll find are for moving to a similar platform.  The 5 steps you found are good ones for moving your data.  Don't worry about changing file path delimiters, however, because step #3 will write the correct path to the new indexes.conf file.&lt;/P&gt;

&lt;P&gt;Don't forget to check the file paths in your other config files.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 00:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Migration/m-p/487810#M83508</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-28T00:14:07Z</dc:date>
    </item>
  </channel>
</rss>

