<?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: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228082#M67404</link>
    <description>&lt;P&gt;Mkay... so you've backed up etc and var/lib, de-installed splunk, installed newer Splunk, copied back etc and var/lib/splunk?&lt;BR /&gt;
If that's the case, you now have a mix of 6.2 and 6.3 running. That's a recipe for disaster - instead of new settings in each default directory, you've copied over the old defaults. &lt;/P&gt;

&lt;P&gt;To fix, I'd do the following:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;make sure your backup still is there&lt;/LI&gt;
&lt;LI&gt;remove the broken hybrid of 6.2 and 6.3&lt;/LI&gt;
&lt;LI&gt;install a fresh 6.4.1&lt;/LI&gt;
&lt;LI&gt;restore var/lib/splunk&lt;/LI&gt;
&lt;LI&gt;restore only custom apps and apps/name/local folders in etc/apps&lt;/LI&gt;
&lt;LI&gt;restore etc/system/local&lt;/LI&gt;
&lt;LI&gt;selectively restore lookup files in etc/apps/name/lookups and etc/system/lookups, make sure you don't blindly overwrite existing things&lt;/LI&gt;
&lt;LI&gt;restoring metadata.default and metadata.local in etc/apps/name/metadata probably is going to be too much effort and risk for little gain&lt;/LI&gt;
&lt;LI&gt;restore any other custom thing in etc, e.g. certificates&lt;/LI&gt;
&lt;LI&gt;don't blindly overwrite all other things in etc with the backup&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;In the future, I'd recommend the following upgrade procedure to avoid this mess:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;make a backup&lt;/LI&gt;
&lt;LI&gt;stop splunk&lt;/LI&gt;
&lt;LI&gt;run the installer to actually upgrade&lt;/LI&gt;
&lt;LI&gt;start splunk&lt;/LI&gt;
&lt;LI&gt;confirm everything works&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Sun, 26 Jun 2016 08:48:32 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2016-06-26T08:48:32Z</dc:date>
    <item>
      <title>After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228074#M67396</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I have upgraded Splunk from 6.2 to 6.3.1 version. I restored backup, but still I am not getting any output for searches for any of the indexes.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2016 09:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228074#M67396</guid>
      <dc:creator>kalyanilandge</dc:creator>
      <dc:date>2016-06-25T09:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228075#M67397</link>
      <description>&lt;P&gt;What do you mean by "I restored backup"?&lt;/P&gt;

&lt;P&gt;Other than that, check the steps along the way of a search for &lt;CODE&gt;index=* OR index=_*&lt;/CODE&gt; over all time:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Does your user have read permissions on any index?&lt;/LI&gt;
&lt;LI&gt;Does any index contain events?&lt;/LI&gt;
&lt;LI&gt;Are there any errors in the search UI?&lt;/LI&gt;
&lt;LI&gt;Are there any errors in splunkd.log?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sat, 25 Jun 2016 12:15:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228075#M67397</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-06-25T12:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228076#M67398</link>
      <description>&lt;P&gt;Restored means I have taken back up for&lt;BR /&gt;
 :-splunk/etc &amp;amp;&lt;BR /&gt;
:-splunk/var/lib. &lt;BR /&gt;
:-index=_internal ,_audit I am getting results.&lt;BR /&gt;
:-I have admin rights.&lt;BR /&gt;
All the index were contain events previously. &lt;BR /&gt;
:-There is no error in UI.&lt;BR /&gt;
:-splunkd logs showing today's logs only.No error.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228076#M67398</guid>
      <dc:creator>kalyanilandge</dc:creator>
      <dc:date>2020-09-29T10:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228077#M67399</link>
      <description>&lt;P&gt;What is your search that is showing zero results?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2016 14:13:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228077#M67399</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-06-25T14:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228078#M67400</link>
      <description>&lt;P&gt;I'm confused as to why you restored backups after upgrading. That's likely to mess things up, kind of like a partial roll-back.&lt;/P&gt;

&lt;P&gt;That being said, check if your non-internal indexes you expect to search actually exist and contain events through Settings -&amp;gt; Indexes.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2016 14:13:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228078#M67400</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-06-25T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228079#M67401</link>
      <description>&lt;P&gt;.. before upgrading splunk on indexer , from that host i have copied the directories  splunk/var/lib/splunk (all the indexes for eg:index_a, index_b) to another machine.. once i upgraded splunk version on indexer , again i copied all these directories to the same location (splunl/var/lib/splunk/) on indexer from that host..&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:03:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228079#M67401</guid>
      <dc:creator>kalyanilandge</dc:creator>
      <dc:date>2020-09-29T10:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228080#M67402</link>
      <description>&lt;P&gt;This question is a duplicate, right?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/419076/search-query-showing-no-result-found-after-upgradi.html"&gt;https://answers.splunk.com/answers/419076/search-query-showing-no-result-found-after-upgradi.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2016 00:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228080#M67402</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-26T00:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228081#M67403</link>
      <description>&lt;P&gt;Yeah but each had a few details so I threw my hands in the air and came to the active one &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2016 01:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228081#M67403</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-06-26T01:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228082#M67404</link>
      <description>&lt;P&gt;Mkay... so you've backed up etc and var/lib, de-installed splunk, installed newer Splunk, copied back etc and var/lib/splunk?&lt;BR /&gt;
If that's the case, you now have a mix of 6.2 and 6.3 running. That's a recipe for disaster - instead of new settings in each default directory, you've copied over the old defaults. &lt;/P&gt;

&lt;P&gt;To fix, I'd do the following:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;make sure your backup still is there&lt;/LI&gt;
&lt;LI&gt;remove the broken hybrid of 6.2 and 6.3&lt;/LI&gt;
&lt;LI&gt;install a fresh 6.4.1&lt;/LI&gt;
&lt;LI&gt;restore var/lib/splunk&lt;/LI&gt;
&lt;LI&gt;restore only custom apps and apps/name/local folders in etc/apps&lt;/LI&gt;
&lt;LI&gt;restore etc/system/local&lt;/LI&gt;
&lt;LI&gt;selectively restore lookup files in etc/apps/name/lookups and etc/system/lookups, make sure you don't blindly overwrite existing things&lt;/LI&gt;
&lt;LI&gt;restoring metadata.default and metadata.local in etc/apps/name/metadata probably is going to be too much effort and risk for little gain&lt;/LI&gt;
&lt;LI&gt;restore any other custom thing in etc, e.g. certificates&lt;/LI&gt;
&lt;LI&gt;don't blindly overwrite all other things in etc with the backup&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;In the future, I'd recommend the following upgrade procedure to avoid this mess:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;make a backup&lt;/LI&gt;
&lt;LI&gt;stop splunk&lt;/LI&gt;
&lt;LI&gt;run the installer to actually upgrade&lt;/LI&gt;
&lt;LI&gt;start splunk&lt;/LI&gt;
&lt;LI&gt;confirm everything works&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sun, 26 Jun 2016 08:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228082#M67404</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-06-26T08:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228083#M67405</link>
      <description>&lt;P&gt;I'm not sure that's supported and could very likely have messed up the data.  &lt;/P&gt;

&lt;P&gt;If I were you, I'd set up Splunk 6.2.1 on another machine temporarily and copy the original data to it and make sure everything that it is searchable and works right.  &lt;/P&gt;

&lt;P&gt;Once I had that backout plan ready to go, you have a couple of options.  Upgrade the 6.2.1 machine you just built following the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/installation/Upgradeto6.3onUNIX"&gt;upgrade procedure&lt;/A&gt;, or rebuild the machine you had upgraded to 6.3 back to 6.2.1 and copy the data to it, confirm operation then upgrade it following the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/installation/Upgradeto6.3onUNIX"&gt;upgrade procedure&lt;/A&gt;.  From 6.2.1 to 6.3 (or even 6.4.1) it's not a complicated procedure.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2016 12:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228083#M67405</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2016-06-26T12:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228084#M67406</link>
      <description>&lt;P&gt;According to your other version of this question (now closed as a duplicate), you did these steps in this order:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1: stoped splunk on indexer 
2: Executed rm -rf Splunk
3: Took backup for SPLUNK-HOME/etc/apps &amp;amp; SPLUNK-HOME/var/lib
4: Installed pkg for 6.3.2.
5: Restored etc&amp;amp;lib backups
6: Restart splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After this you can see the old index names in UI in &lt;CODE&gt;setting&lt;/CODE&gt; -&amp;gt; &lt;CODE&gt;indexes&lt;/CODE&gt;, but you are not able to search the data in search query for &lt;CODE&gt;index=ac_s&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Unless you had a highly unusual (way non-standard) installation, you are toast because steps 2 and 3 are reversed (actually, step 2 should not even be there).  The environment variable &lt;CODE&gt;$SPLUNK_HOME&lt;/CODE&gt; starts with the &lt;CODE&gt;Splunk&lt;/CODE&gt; directory (which you just removed) so your backup command copied nothing (indeed, it should have given you an error).&lt;/P&gt;

&lt;P&gt;Where did you get these directions?  I have never seen any directions anywhere for upgrading splunk that suggested deleting any files or directories.  It is not only unnecessary, but possibly disastrous, as in this case.&lt;/P&gt;

&lt;P&gt;If by chance you actually do have a good backup (like maybe you said it wrong and you did 1-3-2-4), then I would install whatever version USED to be there originally, restore your files, start splunk and make sure everything looks good (data is searchable), stop splunk, DO NOT REMOVE ANYTHING, install new version, start splunk, answer the questions ( 'Yes' to everything), and it should be fine.  But I fear that your backup is empty.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2016 13:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228084#M67406</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-26T13:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228085#M67407</link>
      <description>&lt;P&gt;The server on which I have taken the backup is full.That's the reason Files are 0 kb and I lost data.&lt;BR /&gt;
Does splunk have any other way to  restore the deleted data.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2016 16:01:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228085#M67407</guid>
      <dc:creator>kalyanilandge</dc:creator>
      <dc:date>2016-06-26T16:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228086#M67408</link>
      <description>&lt;P&gt;If you deleted data and don't have a working backup, the data is likely gone. Certainly far beyond what Splunk Answers can do for you.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2016 18:08:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228086#M67408</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-06-26T18:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading Splunk from 6.2 to 6.3.1, why am I getting no results searching any indexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228087#M67409</link>
      <description>&lt;P&gt;Show me the output of these 2 commands on the indexer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;echo $SPLUNK_HOME
df -k
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am certain that I know what I will see and if I do, you are toast.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2016 20:48:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/After-upgrading-Splunk-from-6-2-to-6-3-1-why-am-I-getting-no/m-p/228087#M67409</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-26T20:48:28Z</dc:date>
    </item>
  </channel>
</rss>

