<?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: How to create a dashboard with hidden search used as base? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414964#M27297</link>
    <description>&lt;P&gt;I think it would be better to use BASE search, but if there are many base search results, performance will deteriorate.&lt;BR /&gt;
It is effective in the case that uses an aggregation result like a sample.&lt;/P&gt;

&lt;P&gt;＜Base search＞&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/PanelreferenceforSimplifiedXML"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/PanelreferenceforSimplifiedXML&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2019 03:22:56 GMT</pubDate>
    <dc:creator>HiroshiSatoh</dc:creator>
    <dc:date>2019-06-07T03:22:56Z</dc:date>
    <item>
      <title>How to create a dashboard with hidden search used as base?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414963#M27296</link>
      <description>&lt;P&gt;I had a poke around in Splunk Answers, but I couldn't find anything on this specifically.&lt;/P&gt;

&lt;P&gt;I have a dashboard that has 8+ panels, with maybe more required.  Each panel does something slightly different, but each uses the same search string (at least before the first pipe sign).  For performance reasons, I'd like to be able to run the search only once for the dashboard (eg. as a base search), and then let the search in the other panels refer back to the initial search.  However, I don't want to show the full (or any) results of the initial/base search in the first panel at the top of my dashboard.  That is, I want the results of the base search to be "hidden", but accessible by the other searches lower down in the dashboard.  I don't want to run the initial search as a saved search, I'd like it be available in (as close as possible to) real time.&lt;/P&gt;

&lt;P&gt;Is this possible with Splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 00:46:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414963#M27296</guid>
      <dc:creator>paulski82</dc:creator>
      <dc:date>2019-06-07T00:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard with hidden search used as base?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414964#M27297</link>
      <description>&lt;P&gt;I think it would be better to use BASE search, but if there are many base search results, performance will deteriorate.&lt;BR /&gt;
It is effective in the case that uses an aggregation result like a sample.&lt;/P&gt;

&lt;P&gt;＜Base search＞&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/PanelreferenceforSimplifiedXML"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Viz/PanelreferenceforSimplifiedXML&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 03:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414964#M27297</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2019-06-07T03:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard with hidden search used as base?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414965#M27298</link>
      <description>&lt;P&gt;OK, but the question is how do I do a HIDDEN base search.  I know how to do a base search.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 04:35:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414965#M27298</guid>
      <dc:creator>paulski82</dc:creator>
      <dc:date>2019-06-07T04:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard with hidden search used as base?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414966#M27299</link>
      <description>&lt;P&gt;@paulski82 I think what @HiroshiSatoh mentioned was that as per your description seems like you want to use streaming results in your base search which will impact performance of dashboard instead of improving it. So, you should ensure to use post-processing only for panels which reuse same transforming result sets and display different column and/or field from the transforming results. If there are too many events in your raw search then the same may also be dropped. Refer to Best Practices Documentation: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Best_practices"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Best_practices&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also what you need to do is create an independent search i.e. a search without a panel and view.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search id="baseSearch"&amp;gt; 
    &amp;lt;query&amp;gt; your base search query
    &amp;lt;/query&amp;gt;
&amp;lt;/search&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can use the above documentation to see Chained and Complex Post processing examples which list this approach. They also explain when to use post-processing and when to avoid.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 06:04:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414966#M27299</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-06-07T06:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a dashboard with hidden search used as base?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414967#M27300</link>
      <description>&lt;P&gt;You can just put the base searchin the XML (like an init)&lt;/P&gt;

&lt;P&gt;&amp;lt; form&amp;gt;&lt;BR /&gt;
&amp;lt; search id="base_id" &amp;gt;&lt;BR /&gt;
&amp;lt; query&amp;gt; &lt;BR /&gt;
&amp;lt; /query &amp;gt;&lt;BR /&gt;
&amp;lt; /search &amp;gt;&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;&amp;lt; row&amp;gt;&lt;BR /&gt;
  &amp;lt; panel&amp;gt;&lt;BR /&gt;
     &amp;lt; table&amp;gt;&lt;BR /&gt;
        &amp;lt; search base="base_id" &amp;gt;&lt;BR /&gt;
    ...&lt;/P&gt;

&lt;P&gt;&amp;lt; /form &amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 19:00:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-dashboard-with-hidden-search-used-as-base/m-p/414967#M27300</guid>
      <dc:creator>hallt3</dc:creator>
      <dc:date>2019-06-07T19:00:43Z</dc:date>
    </item>
  </channel>
</rss>

