<?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: Multiple Base searches in a dasboard with post processing searches in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126950#M7493</link>
    <description>&lt;P&gt;FYI: the example of official document is here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Savedsearches#Post-process_examples"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Savedsearches#Post-process_examples&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2017 07:49:46 GMT</pubDate>
    <dc:creator>androchentw</dc:creator>
    <dc:date>2017-10-26T07:49:46Z</dc:date>
    <item>
      <title>Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126943#M7486</link>
      <description>&lt;P&gt;I have a dashboard with 4 panels/searches. I want to implement the following scenario :-&lt;/P&gt;

&lt;P&gt;&amp;lt;\ FORM&amp;gt;&lt;BR /&gt;
&amp;lt; searchTemplate &amp;gt;FIRST BASE SEARCH&amp;lt; /searchTemplate &amp;gt;&lt;BR /&gt;
&amp;lt; postProcessSearch &amp;gt; Post Processing search 1 &amp;lt; /postProcessSearch&amp;gt;&lt;BR /&gt;
&amp;lt; postProcessSearch &amp;gt; Post Processing search 2 &amp;lt; /postProcessSearch&amp;gt;&lt;BR /&gt;
&amp;lt; searchTemplate &amp;gt;SECOND BASE SEARCH&amp;lt; /searchTemplate &amp;gt;&lt;BR /&gt;
&amp;lt; postProcessSearch &amp;gt; Post Processing search 3 &amp;lt; /postProcessSearch&amp;gt;&lt;BR /&gt;
&amp;lt; postProcessSearch &amp;gt; Post Processing search  4 &amp;lt; /postProcessSearch&amp;gt;&lt;BR /&gt;
&amp;lt;\ /FORM&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2015 07:53:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126943#M7486</guid>
      <dc:creator>joydeep741</dc:creator>
      <dc:date>2015-05-25T07:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126944#M7487</link>
      <description>&lt;P&gt;Use the &lt;CODE&gt;id=&lt;/CODE&gt; and &lt;CODE&gt;base=&lt;/CODE&gt; labels. Name your base searches with &lt;CODE&gt;id&lt;/CODE&gt; and refer to them with &lt;CODE&gt;base&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Multiple Post Process Search&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;Each panel post processes the base search through a separate search pipeline. Each Base Search is Named&amp;lt;/description&amp;gt;
  &amp;lt;search id="First_Base_Search"&amp;gt;
      &amp;lt;query&amp;gt;index=_internal | head 1000&amp;lt;/query&amp;gt;
  &amp;lt;/search&amp;gt;
   &amp;lt;search id="Second_Base_Search"&amp;gt;
      &amp;lt;query&amp;gt;index=_internal source=*splunkd.log | stats count by component, log_level&amp;lt;/query&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
    &amp;lt;input type="time" searchWhenChanged="true"&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliestTime&amp;gt;-24h&amp;lt;/earliestTime&amp;gt;
        &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;title&amp;gt;Events over Time(First)&amp;lt;/title&amp;gt;
      &amp;lt;search base="First_Base_Search"&amp;gt;
          &amp;lt;query&amp;gt;timechart count&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;title&amp;gt;Top Sourcetypes(First)&amp;lt;/title&amp;gt;
      &amp;lt;search base="First_Base_Search"&amp;gt;
          &amp;lt;query&amp;gt;top limit=100 sourcetype | eval percent = round(percent,2)&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;option name="displayRowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;title&amp;gt;Events Count by Log Level(Second)&amp;lt;/title&amp;gt;
      &amp;lt;search base="Second_Base_Search"&amp;gt;
          &amp;lt;query&amp;gt;| stats sum(count) AS count by log_level&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;title&amp;gt;Error Count by Component(Second)&amp;lt;/title&amp;gt;
      &amp;lt;search base="Second_Base_Search"&amp;gt;
          &amp;lt;query&amp;gt;| search log_level=error | stats sum(count) AS count by component&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;option name="displayRowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 May 2015 15:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126944#M7487</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2015-05-25T15:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126945#M7488</link>
      <description>&lt;P&gt;But does this work in splunk v6.0 ?&lt;BR /&gt;
I am getting "No search query provided. " error&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2015 13:06:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126945#M7488</guid>
      <dc:creator>joydeep741</dc:creator>
      <dc:date>2015-05-26T13:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126946#M7489</link>
      <description>&lt;P&gt;I believe this feature (multiple base searches) was implemented with 6.1&lt;BR /&gt;
Current release is 6.2.3 - You may want to plan an upgrade, as you are two pretty major releases behind.&lt;BR /&gt;
You can only have one base search in the version you're using and the syntax is different.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2015 15:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126946#M7489</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2015-05-26T15:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126947#M7490</link>
      <description>&lt;P&gt;this is Splunk 6.2+ syntax which allow to name searches and reuse them.&lt;BR /&gt;
I find it much easier and more powerfull that the postprocess stanzas.&lt;/P&gt;

&lt;P&gt;So I would advice you to upgrade to be able to use this &lt;BR /&gt;
Alternatively, there may be a possibility that's doable with advancedxml but never explored it.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2015 15:06:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126947#M7490</guid>
      <dc:creator>matthieu_araman</dc:creator>
      <dc:date>2015-05-26T15:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126948#M7491</link>
      <description>&lt;P&gt;How do you implement multiple times with multiple time pickers into these multiple base searches?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 21:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126948#M7491</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2016-01-12T21:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126949#M7492</link>
      <description>&lt;P&gt;Base searches should be rendered in reporting format.  To the first base search, I recommend adding&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count by sourcetype _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;possibly with bucket _time span=30m&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 00:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126949#M7492</guid>
      <dc:creator>landen99</dc:creator>
      <dc:date>2016-03-18T00:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126950#M7493</link>
      <description>&lt;P&gt;FYI: the example of official document is here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Savedsearches#Post-process_examples"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Savedsearches#Post-process_examples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:49:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126950#M7493</guid>
      <dc:creator>androchentw</dc:creator>
      <dc:date>2017-10-26T07:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126951#M7494</link>
      <description>&lt;P&gt;@androchentw, it is better to use latest instead of version so that the Splunk Documentation Link remains applicable to latest version until something is deprecated or removed or moved to a new link&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Post-process_examples"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/Savedsearches#Post-process_examples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 08:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126951#M7494</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-26T08:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126952#M7495</link>
      <description>&lt;P&gt;Updating with most recent doc for 7.0&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Savedsearches#Post-process_searches_2"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.0/Viz/Savedsearches#Post-process_searches_2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 15:51:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126952#M7495</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2017-10-26T15:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126953#M7496</link>
      <description>&lt;P&gt;normally I'd agree regarding "latest" but since these answers discussions live forever it's maybe better to assume that, and put the version you refer to. otherwise it makes for a wild goose chase when you find the EXACT answer to your question in an 'old' answer but have no feature/time context. :). But I see your point.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 15:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126953#M7496</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2017-10-26T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126954#M7497</link>
      <description>&lt;P&gt;I should note that the Simple XML Reference (&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Viz/PanelreferenceforSimplifiedXML#dashboard_or_form"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.6.3/Viz/PanelreferenceforSimplifiedXML#dashboard_or_form&lt;/A&gt;) contradicts this - the schema shows a maximum of one search per dashboard or form, though multiple do work.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 19:58:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126954#M7497</guid>
      <dc:creator>sjodle</dc:creator>
      <dc:date>2017-11-03T19:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Base searches in a dasboard with post processing searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126955#M7498</link>
      <description>&lt;P&gt;All of a sudden in 6.6.X you cannot put the base search in the same location as in rsennett's example. This is particularly annoying because if you do it from the filesystem there are no problems.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 19:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Multiple-Base-searches-in-a-dasboard-with-post-processing/m-p/126955#M7498</guid>
      <dc:creator>rharrisssi</dc:creator>
      <dc:date>2017-11-29T19:23:02Z</dc:date>
    </item>
  </channel>
</rss>

