<?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: Why are my dashboard panels using a base search showing no results, but shows results if opened in search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276352#M83356</link>
    <description>&lt;P&gt;Thank you for this.. Solved my issue&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 08:23:19 GMT</pubDate>
    <dc:creator>christoffertoft</dc:creator>
    <dc:date>2018-01-11T08:23:19Z</dc:date>
    <item>
      <title>Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276347#M83351</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've encountered this problem a couple of times now.&lt;/P&gt;

&lt;P&gt;I have a dashboard where some of the panels run on a base search to save computing power. When I open the dashboard the panels using the base search are showing zero results, but if I open them in search I get the results I want. I'll provide the XML. Why could it be that this is happening? Is there some sort of missing capability that prevents me from seeing the results in the dashboard or app even though I can see the correct results when the panel is opened in search?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search id="manageStoreEmployee"&amp;gt;
    &amp;lt;query&amp;gt;eventtype=a OR eventtype=b&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$token_time_picker.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$token_time_picker.latest$&amp;lt;/latest&amp;gt;
&amp;lt;/search&amp;gt;

&amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Manage Store Employee - Front-End&amp;lt;/title&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;search base="manageStoreEmployee"&amp;gt;
          &amp;lt;query&amp;gt;| stats count(eval(status!=422)) as success&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/single&amp;gt;
&amp;lt;/panel&amp;gt;
&amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Manage Store Employee - Back-End&amp;lt;/title&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;search base="manageStoreEmployee"&amp;gt;
          &amp;lt;query&amp;gt;| stats count(eval(status!=502)) as success&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/single&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Feb 2016 08:33:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276347#M83351</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2016-02-09T08:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276348#M83352</link>
      <description>&lt;P&gt;Can you try this in your base search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype="a" OR eventtype="b" | fields status, other fields
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It's possible that filed extraction is not happening in dashboard since it runs search in smart mode by default &lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 08:52:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276348#M83352</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-02-09T08:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276349#M83353</link>
      <description>&lt;P&gt;That worked perfectly, I'd never thought of that being the problem. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 09:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276349#M83353</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2016-02-09T09:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276350#M83354</link>
      <description>&lt;P&gt;More generically, put a  &lt;/P&gt;

&lt;P&gt;| fields *  &lt;/P&gt;

&lt;P&gt;at the end of the base query.  This will make certain that you have all the fields you need for all the other panels that might reference that base. &lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 21:58:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276350#M83354</guid>
      <dc:creator>chuckers</dc:creator>
      <dc:date>2016-09-30T21:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276351#M83355</link>
      <description>&lt;P&gt;this answer fixed my dashboard&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 19:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276351#M83355</guid>
      <dc:creator>cpershey</dc:creator>
      <dc:date>2017-11-07T19:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276352#M83356</link>
      <description>&lt;P&gt;Thank you for this.. Solved my issue&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 08:23:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276352#M83356</guid>
      <dc:creator>christoffertoft</dc:creator>
      <dc:date>2018-01-11T08:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276353#M83357</link>
      <description>&lt;P&gt;Thanks, this suggestion fixed my issue&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276353#M83357</guid>
      <dc:creator>edoardo_vicendo</dc:creator>
      <dc:date>2018-03-08T11:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dashboard panels using a base search showing no results, but shows results if opened in search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276354#M83358</link>
      <description>&lt;P&gt;I woud add that, instead of using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fields *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it is better to extract only the fields you need later on in all the other dashboard panels, this will improve the performance of the entire dashboard, here below the example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fields field1, field2, field3 etc..
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Mar 2018 12:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-dashboard-panels-using-a-base-search-showing-no/m-p/276354#M83358</guid>
      <dc:creator>edoardo_vicendo</dc:creator>
      <dc:date>2018-03-08T12:36:10Z</dc:date>
    </item>
  </channel>
</rss>

