<?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 Postprocess chaining possible in simple XML? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Postprocess-chaining-possible-in-simple-XML/m-p/190401#M11854</link>
    <description>&lt;P&gt;It is great the Splunk 6.2 allows multiple base searches. However I was wondering if postprocess chaining is possible.. That is a post process search is a base search for another post process search. The following is a cooked up dashboard  XML that will illustrate what i am trying. I am not getting intended results. Not sure if it is a supported feature&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;TempPostProcessChaining&amp;lt;/label&amp;gt;
    &amp;lt;search id="baseSearch"&amp;gt;
      &amp;lt;query&amp;gt;|stats count as dummy&amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;First Post Process Result&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search base="baseSearch" id="firstPostProcess"&amp;gt;
          &amp;lt;query&amp;gt;eval a=dummy+1 | fields *&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
    &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Second Post Process Result&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search base="firstPostProcess"&amp;gt;
          &amp;lt;query&amp;gt;eval b=a+1 | fields *&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Jul 2015 21:45:01 GMT</pubDate>
    <dc:creator>koprai</dc:creator>
    <dc:date>2015-07-02T21:45:01Z</dc:date>
    <item>
      <title>Postprocess chaining possible in simple XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Postprocess-chaining-possible-in-simple-XML/m-p/190401#M11854</link>
      <description>&lt;P&gt;It is great the Splunk 6.2 allows multiple base searches. However I was wondering if postprocess chaining is possible.. That is a post process search is a base search for another post process search. The following is a cooked up dashboard  XML that will illustrate what i am trying. I am not getting intended results. Not sure if it is a supported feature&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;TempPostProcessChaining&amp;lt;/label&amp;gt;
    &amp;lt;search id="baseSearch"&amp;gt;
      &amp;lt;query&amp;gt;|stats count as dummy&amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;First Post Process Result&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search base="baseSearch" id="firstPostProcess"&amp;gt;
          &amp;lt;query&amp;gt;eval a=dummy+1 | fields *&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
    &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Second Post Process Result&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search base="firstPostProcess"&amp;gt;
          &amp;lt;query&amp;gt;eval b=a+1 | fields *&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jul 2015 21:45:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Postprocess-chaining-possible-in-simple-XML/m-p/190401#M11854</guid>
      <dc:creator>koprai</dc:creator>
      <dc:date>2015-07-02T21:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Postprocess chaining possible in simple XML?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Postprocess-chaining-possible-in-simple-XML/m-p/190402#M11855</link>
      <description>&lt;P&gt;I'd say no.&lt;/P&gt;

&lt;P&gt;The observed behaviour is similar to the old AdvancedXML PostProcess Module - while you could have multiple post processes underneath each other, one would override the other so you would always have &lt;CODE&gt;base search | post process&lt;/CODE&gt;, never &lt;CODE&gt;base search | post process 1 | post process 2&lt;/CODE&gt;. You can see this more clearly if you add &lt;CODE&gt;| eval c = dummy + 10&lt;/CODE&gt; to your second post process - it is applied, but the first post process is skipped.&lt;BR /&gt;
The docs aren't terribly clear on this, but they do say "Post-process searches: A search that further modifies results from a base search." Taking that literally, a post process will always modify the base search... exactly what we're observing here.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/PanelreferenceforSimplifiedXML"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/Viz/PanelreferenceforSimplifiedXML&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2015 22:31:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Postprocess-chaining-possible-in-simple-XML/m-p/190402#M11855</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-02T22:31:01Z</dc:date>
    </item>
  </channel>
</rss>

