<?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 How to create root search and base search in dashboard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642352#M222510</link>
    <description>&lt;P&gt;We have created base serach query but I required to created root search base on that .&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 06:10:47 GMT</pubDate>
    <dc:creator>Sekhar</dc:creator>
    <dc:date>2023-05-05T06:10:47Z</dc:date>
    <item>
      <title>How to create root search and base search in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642352#M222510</link>
      <description>&lt;P&gt;We have created base serach query but I required to created root search base on that .&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 06:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642352#M222510</guid>
      <dc:creator>Sekhar</dc:creator>
      <dc:date>2023-05-05T06:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create root search and base serach in dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642354#M222511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255818"&gt;@Sekhar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what do you mean with "root search"?&lt;/P&gt;&lt;P&gt;you can create a base search (eventually more than one) in the top of your dashboard and call it in each panel, only one for each panel.&lt;/P&gt;&lt;P&gt;Could you share your code (please using the Add/Insert Code panel) and better describe what you need?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 05:44:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642354#M222511</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-05-05T05:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to create root search and base serach in dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642359#M222512</link>
      <description>&lt;P&gt;&amp;lt;search ID=" start event"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Query&amp;gt; index=x source= xtype application=xapps&amp;lt;\quer&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using base query in plannel&amp;nbsp;&lt;/P&gt;&lt;P&gt;Panael&lt;/P&gt;&lt;P&gt;Serach base=" start event"&lt;/P&gt;&lt;P&gt;Query&amp;nbsp; | status count&amp;nbsp; &amp;nbsp;working fine for panel&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have multiple base query index ,source, application same so i need to create one root search for comman search.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 05:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642359#M222512</guid>
      <dc:creator>Sekhar</dc:creator>
      <dc:date>2023-05-05T05:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create root search and base serach in dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642361#M222514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255818"&gt;@Sekhar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;to have the maximum advantage from a base search you should use a streming command (as stats, or chart, etc...) in the base search itself.&lt;/P&gt;&lt;P&gt;If it isn't possible, as in your case, you have to explicit the fields to use in the panels at the end of the base search using the fields command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;search ID=" start event"&amp;gt;
&amp;lt;Query&amp;gt; 
   index=x source= xtype application=xapps
   | fields &amp;lt;fields used in the panels&amp;gt;
&amp;lt;\Query&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;I'll be more detailed if you could share your dashboard code and, please, put it in the&amp;nbsp;&lt;SPAN&gt;using the Add/Insert Code panel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then don't use spaces in fields and base_search names.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 06:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-root-search-and-base-search-in-dashboard/m-p/642361#M222514</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-05-05T06:04:46Z</dc:date>
    </item>
  </channel>
</rss>

