<?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: Importing Data From One index to my Splunk Enterprise in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501209#M85383</link>
    <description>&lt;P&gt;Hi ivialex,&lt;BR /&gt;
did you created indexes.conf before restart Splunk?&lt;BR /&gt;
the correct procedure should be:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;create  an indexes.conf or add to an existing one the information about the new index:
[sample]
homePath   = $SPLUNK_DB\sample\db
coldPath   = $SPLUNK_DB\sample\colddb
thawedPath = $SPLUNK_DB\sample\thaweddb&lt;/LI&gt;
&lt;LI&gt;create a folder in $SPLUNK_HOME/var/lib/splunk/my_index or in your $SPLUNK_DB&lt;/LI&gt;
&lt;LI&gt;copy the four subfolders under my_index&lt;/LI&gt;
&lt;LI&gt;give the same grants and ownership of the other indexes&lt;/LI&gt;
&lt;LI&gt;restart Splunk&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:31:52 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-09-30T02:31:52Z</dc:date>
    <item>
      <title>Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501206#M85380</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;

&lt;P&gt;I am trying to import data from an index provided by the instructor of a &lt;STRONG&gt;Splunk training course&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Follow the steps below:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;To Import Course Example Data:

Navigate to Settings—&amp;gt;Indexes—&amp;gt;New Index
Create a new index with the desired name
Save the new index
Use file transfer program to transfer the four folders into new index folder within the Splunk OS
    *Nix: /opt/splunk/var/lib/splunk/INDEX_NAME
Search imported data by searching just this index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The file mentioned above has the four folders: &lt;STRONG&gt;colddb, datamodel_summary, db and thaweddb&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;After copying all the above files, skipping copying the &lt;STRONG&gt;.bucketManifest and CreationTime&lt;/STRONG&gt; files.&lt;/P&gt;

&lt;P&gt;The next step I did was restart no splunk.&lt;/P&gt;

&lt;P&gt;This procedure did not work. &lt;STRONG&gt;The current size of my index was 0B&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;That is, it seems that my &lt;STRONG&gt;Splunk Enterprise (Indexer)&lt;/STRONG&gt; did not recognize the index data copied and provided by the instructor.&lt;/P&gt;

&lt;P&gt;What can it be?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 21:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501206#M85380</guid>
      <dc:creator>ivialex</dc:creator>
      <dc:date>2019-10-11T21:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501207#M85381</link>
      <description>&lt;P&gt;Did you make sure the files have the same permissions? For example owned by the splunk user.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 23:30:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501207#M85381</guid>
      <dc:creator>anthonymelita</dc:creator>
      <dc:date>2019-10-11T23:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501208#M85382</link>
      <description>&lt;P&gt;Have you contacted the instructor?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 00:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501208#M85382</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-12T00:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501209#M85383</link>
      <description>&lt;P&gt;Hi ivialex,&lt;BR /&gt;
did you created indexes.conf before restart Splunk?&lt;BR /&gt;
the correct procedure should be:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;create  an indexes.conf or add to an existing one the information about the new index:
[sample]
homePath   = $SPLUNK_DB\sample\db
coldPath   = $SPLUNK_DB\sample\colddb
thawedPath = $SPLUNK_DB\sample\thaweddb&lt;/LI&gt;
&lt;LI&gt;create a folder in $SPLUNK_HOME/var/lib/splunk/my_index or in your $SPLUNK_DB&lt;/LI&gt;
&lt;LI&gt;copy the four subfolders under my_index&lt;/LI&gt;
&lt;LI&gt;give the same grants and ownership of the other indexes&lt;/LI&gt;
&lt;LI&gt;restart Splunk&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501209#M85383</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T02:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501210#M85384</link>
      <description>&lt;P&gt;You realize that &lt;CODE&gt;INDEX_NAME&lt;/CODE&gt; is a placeholder, right?  You have to substitute &lt;CODE&gt;INDEX_NAME&lt;/CODE&gt; text for the actual name of the index that you created from the GUI.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 17:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501210#M85384</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-12T17:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501211#M85385</link>
      <description>&lt;P&gt;Hi  @anthonymelita . I checked and I'll try to import and start with the admin user. I create the index, after I stop my service in Windows. Then, I delete all folder inside my index. After I copy the four new folder and start the service. But, it didn't work too.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 19:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501211#M85385</guid>
      <dc:creator>ivialex</dc:creator>
      <dc:date>2019-10-12T19:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501212#M85386</link>
      <description>&lt;P&gt;Hi @richgalloway . Yes, I send an email to my instrutor. He reply my asks and I'll try his instructions.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 19:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501212#M85386</guid>
      <dc:creator>ivialex</dc:creator>
      <dc:date>2019-10-12T19:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501213#M85387</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;I tried to follow your instructions as bellow:&lt;/P&gt;

&lt;H1&gt;index definitions&lt;/H1&gt;

&lt;P&gt;[pluralsight_generating_tailored_searches_splunk]&lt;BR /&gt;
homePath   = $SPLUNK_DB\pluralsight_generating_tailored_searches_splunk\db&lt;BR /&gt;
coldPath   = $SPLUNK_DB\pluralsight_generating_tailored_searches_splunk\colddb&lt;BR /&gt;
thawedPath = $SPLUNK_DB\pluralsight_generating_tailored_searches_splunk\thaweddb&lt;BR /&gt;
maxDataSize = 100&lt;/P&gt;

&lt;P&gt;And yet, it doesn't start splunk service on my windows.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:36:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501213#M85387</guid>
      <dc:creator>ivialex</dc:creator>
      <dc:date>2020-09-30T02:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501214#M85388</link>
      <description>&lt;P&gt;Hi @woodcock ,&lt;/P&gt;

&lt;P&gt;My &lt;CODE&gt;INDEX_NAME&lt;/CODE&gt; is in this path in my windows machine: C:\Program Files\Splunk\var\lib\splunk\&lt;/P&gt;

&lt;P&gt;And this index folder is the same name that I created in my GUI Splunk Enterprise.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 01:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501214#M85388</guid>
      <dc:creator>ivialex</dc:creator>
      <dc:date>2019-10-13T01:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501215#M85389</link>
      <description>&lt;P&gt;Hi ivialex,&lt;BR /&gt;
you can see the value of $SPLUNK_DB variable in $SPLUNK_HOME\etc\splunk-launch.conf&lt;BR /&gt;
usually is commented.&lt;BR /&gt;
If it's commented you can replace $SPLUNK_DB with $SPLUNK_HOME\var\lib\splunk&lt;/P&gt;

&lt;P&gt;Then, don'r use maxDataSize = 100 because in this way you could delete some data.&lt;/P&gt;

&lt;P&gt;When you try to restart windows services, use the cmd window with administration grants, in this way you can see if there's any problem.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501215#M85389</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T02:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501216#M85390</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; ,&lt;/P&gt;

&lt;P&gt;My local indexes.conf as bellow:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[pluralsight_generating_tailored_searches_splunk]&lt;BR /&gt;
homePath   =&lt;BR /&gt;
$SPLUNK_DB\pluralsight_generating_tailored_searches_splunk\db&lt;BR /&gt;
coldPath   =&lt;BR /&gt;
$SPLUNK_DB\pluralsight_generating_tailored_searches_splunk\colddb&lt;BR /&gt;
thawedPath =&lt;BR /&gt;
$SPLUNK_DB\pluralsight_generating_tailored_searches_splunk\thaweddb&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;My splunk-launch.conf as bellow:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;H1&gt;Version 7.3.2&lt;/H1&gt;

&lt;H1&gt;Modify the following line to suit the location of your Splunk install.&lt;/H1&gt;

&lt;H1&gt;If unset, Splunk will use the parent of the directory containing the splunk&lt;/H1&gt;

&lt;H1&gt;CLI executable.&lt;/H1&gt;

&lt;H1&gt;SPLUNK_HOME=C:\Program Files\Splunk&lt;/H1&gt;

&lt;H1&gt;By default, Splunk stores its indexes under SPLUNK_HOME in the&lt;/H1&gt;

&lt;H1&gt;var\lib\splunk subdirectory.  This can be overridden&lt;/H1&gt;

&lt;H1&gt;here:&lt;/H1&gt;

&lt;H1&gt;SPLUNK_DB=$SPLUNK_HOME\var\lib\splunk&lt;/H1&gt;

&lt;H1&gt;Splunkd service name SPLUNK_SERVER_NAME=Splunkd&lt;/H1&gt;

&lt;H1&gt;Splunkweb service name SPLUNK_WEB_NAME=splunkweb&lt;/H1&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The result of the using the cmd window with administration grants as bellow:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;C:\Program Files\Splunk\bin&amp;gt;splunk&lt;BR /&gt;
start --accept-license&lt;/P&gt;

&lt;P&gt;Splunk&amp;gt; The Notorious B.I.G. D.A.T.A.&lt;/P&gt;

&lt;P&gt;Checking prerequisites...&lt;BR /&gt;
        Checking http port [8000]: open&lt;BR /&gt;
        Checking mgmt port [8089]: open&lt;BR /&gt;
        Checking appserver port [127.0.0.1:8065]: open&lt;BR /&gt;
        Checking kvstore port [8191]: open&lt;BR /&gt;
        Checking configuration... Done.&lt;BR /&gt;
        Checking critical directories...        Done&lt;BR /&gt;
        Checking indexes...&lt;BR /&gt;
                (skipping validation of index paths because not running as&lt;BR /&gt;
LocalSystem)&lt;BR /&gt;
                Validated: _audit _internal _introspection _telemetry _thefishbucket edureka_access_combined_wcookie&lt;BR /&gt;
history main&lt;BR /&gt;
pluralsight_generating_tailored_searches_splunk&lt;BR /&gt;
summary&lt;BR /&gt;
        Done&lt;BR /&gt;
        Checking filesystem compatibility...  Done&lt;BR /&gt;
        Checking conf files for problems...&lt;BR /&gt;
        Done&lt;BR /&gt;
        Checking default conf files for edits...&lt;BR /&gt;
        Validating installed files against hashes from 'C:\Program&lt;BR /&gt;
Files\Splunk\splunk-7.3.2-c60db69f8e32-windows-64-manifest'&lt;BR /&gt;
        All installed files intact.&lt;BR /&gt;
        Done All preliminary checks passed.&lt;/P&gt;

&lt;P&gt;Starting splunk server daemon&lt;BR /&gt;
(splunkd)...&lt;/P&gt;

&lt;P&gt;Splunkd: Starting (pid 12628)&lt;/P&gt;

&lt;P&gt;Timed out waiting for splunkd to&lt;BR /&gt;
start.&lt;/P&gt;

&lt;P&gt;C:\Program Files\Splunk\bin&amp;gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;And it didn't work fine. My instrutor send me the .csv file to import data. I believe that is conflict between data system because are diferrent operate system. &lt;BR /&gt;
Then I will try to install Splunk on a Linux for example, on a virtual machine and try the same procedure to see if this problem is due to having exported the data on an operating system (Linux or Mac) and trying to import on a Windows.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501216#M85390</guid>
      <dc:creator>ivialex</dc:creator>
      <dc:date>2020-09-30T02:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data From One index to my Splunk Enterprise</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501217#M85391</link>
      <description>&lt;P&gt;Hi ivialex,&lt;BR /&gt;
this means that the $SPLUNK_DB is the default one.&lt;/P&gt;

&lt;P&gt;Please, check you indexes.conf files, probably you have your index in more than one file.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 07:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Importing-Data-From-One-index-to-my-Splunk-Enterprise/m-p/501217#M85391</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-14T07:05:10Z</dc:date>
    </item>
  </channel>
</rss>

