<?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: combining savedsearch and postProcess does not work in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69791#M4337</link>
    <description>&lt;P&gt;HiddenSavedSearch and PostProcess work together perfectly well.  However there are a number of common pitfalls around the use of postProcess searches in general.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2013 04:22:25 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2013-06-24T04:22:25Z</dc:date>
    <item>
      <title>combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69784#M4330</link>
      <description>&lt;P&gt;I am new to splunk and i am trying the following &lt;BR /&gt;
get a value from PullDown list&lt;BR /&gt;
do a savedSearch&lt;BR /&gt;
do postProcess by using the value selected from the drop down. the value is one of the eventtype&lt;BR /&gt;
But i always get the output of the savedSearch and post processing seems to be not happening.&lt;BR /&gt;
For postProcess search, i tried&lt;BR /&gt;
| eventtype=$envtype$&lt;BR /&gt;
search eventtype=$envtype$&lt;BR /&gt;
eventtype=$envtype$&lt;BR /&gt;
Can anyone throw some light here ?&lt;BR /&gt;
&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;&lt;MODULE name="URLLoader" layoutpanel="panel_row1_col1" autorun="True"&gt;&lt;BR /&gt;
    &lt;MODULE name="Pulldown" layoutpanel="panel_row1_col1"&gt;&lt;BR /&gt;
      &lt;OBJECT&gt;&lt;PARAM name="staticFieldsToDisplay" /&gt;&lt;BR /&gt;
           &lt;LIST&gt;&lt;BR /&gt;
                  &lt;PARAM name="value" /&gt;TrunkFarm&lt;BR /&gt;
                  &lt;PARAM name="label" /&gt;Trunk&lt;BR /&gt;
           &lt;/LIST&gt;&lt;BR /&gt;
           &lt;LIST&gt;&lt;BR /&gt;
                  &lt;PARAM name="value" /&gt;TestFarm&lt;BR /&gt;
                  &lt;PARAM name="label" /&gt;Integration&lt;BR /&gt;
           &lt;/LIST&gt;&lt;BR /&gt;
              &lt;BR /&gt;
              &lt;PARAM name="name" /&gt;envtype&lt;BR /&gt;
              &lt;PARAM name="label" /&gt;Environment:  &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;module name="HiddenSavedSearch" layoutPanel="panel_row1_col1" autoRun="True"&amp;gt;
      &amp;lt;param name="savedSearch"&amp;gt;TransactionLogCountandDurationforTestServicesGen&amp;lt;/param&amp;gt;
      &amp;lt;module name="PostProcess" layoutPanel="panel_row1_col1" autoRun="True"&amp;gt;
     &amp;lt;param name="search"&amp;gt;search eventtype=$envtype$&amp;lt;/param&amp;gt;
   &amp;lt;module name="SimpleResultsHeader"&amp;gt;
     &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;
     &amp;lt;param name="headerFormat"&amp;gt;$time$ - Updates every 5 minutes&amp;lt;/param&amp;gt;
   &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Jun 2013 11:07:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69784#M4330</guid>
      <dc:creator>aragavan</dc:creator>
      <dc:date>2013-06-20T11:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69785#M4331</link>
      <description>&lt;P&gt;There are a number of common pitfalls around using postprocess with Splunk, and all of them are pretty well explained in the Sideview Utils documentation under "Key Techniques &amp;gt; Using PostProcess &amp;gt; Introduction". &lt;/P&gt;

&lt;P&gt;The most likely problem here is that the search language in your savedsearch does not actually refer to the eventtype field in any way.  This means that Splunk will not extract that field, and when the postprocess comes along later, it wont be there. &lt;/P&gt;

&lt;P&gt;If it's not that pitfall though, it'll be one of the other ones described again on that docs page. &lt;/P&gt;

&lt;P&gt;Make sure you're on the latest Sideview Utils because there are constantly improvements happening not just to the modules and tools but also to the documentation!  The current version is 2.4.10 and you can add yourself to the mailing list to get notified whenever there are new releases (&lt;A href="http://sideviewapps.com/apps/sideview-utils/mailing-list/"&gt;http://sideviewapps.com/apps/sideview-utils/mailing-list/&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;and download 2.4.10 from the Sideview site here:   &lt;A href="http://sideviewapps.com/apps/sideview-utils/"&gt;http://sideviewapps.com/apps/sideview-utils/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 23:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69785#M4331</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-06-20T23:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69786#M4332</link>
      <description>&lt;P&gt;try the Hidden Search module and put in there the code for your saved search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="HiddenSearch" layoutPanel="panel_row1_col1" autoRun="True"&amp;gt;
      &amp;lt;param name="search"&amp;gt;THE_CODE_FOR_YOUR_PRETTY_SEARCH_GOES_HERE&amp;lt;/param&amp;gt;
      &amp;lt;module name="PostProcess" layoutPanel="panel_row1_col1" autoRun="True"&amp;gt;
     &amp;lt;param name="search"&amp;gt;search eventtype=$envtype$&amp;lt;/param&amp;gt;
   &amp;lt;module name="SimpleResultsHeader"&amp;gt;
     &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;
     &amp;lt;param name="headerFormat"&amp;gt;$time$ - Updates every 5 minutes&amp;lt;/param&amp;gt;
   &amp;lt;/module&amp;gt;
....
...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Jun 2013 02:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69786#M4332</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2013-06-21T02:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69787#M4333</link>
      <description>&lt;P&gt;its working but using HiddenSearch is slow compared to HiddenSavedSearch, looking to better my dashboard.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 14:00:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69787#M4333</guid>
      <dc:creator>aragavan</dc:creator>
      <dc:date>2013-06-21T14:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69788#M4334</link>
      <description>&lt;P&gt;thanks ,my savedSearch starts like this&lt;BR /&gt;
index=exp eventtype=TrunkFarm OR eventtype=TestFarm sourcetype="tracelog" ...&lt;BR /&gt;
so my savedsearch does refer to "eventtype" which i am trying in my postProcess search param.&lt;/P&gt;

&lt;P&gt;I'll read Sideview document you suggested.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 14:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69788#M4334</guid>
      <dc:creator>aragavan</dc:creator>
      <dc:date>2013-06-21T14:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69789#M4335</link>
      <description>&lt;P&gt;Hm.  I wonder if eventtypes work differently.  Can you try putting &lt;CODE&gt;| fields eventtype *&lt;/CODE&gt; on the end of your saved search and seeing what happens?   It will have no effect on the search results other than reordering them, and it will definitely tell splunk not only that it has to expand that one eventtype, but that it has to run and calculate summaries for all eventtypes.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 16:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69789#M4335</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-06-21T16:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69790#M4336</link>
      <description>&lt;P&gt;I believe HiddenSavedSearch and postprocess cannot work together&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jun 2013 21:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69790#M4336</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2013-06-23T21:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: combining savedsearch and postProcess does not work</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69791#M4337</link>
      <description>&lt;P&gt;HiddenSavedSearch and PostProcess work together perfectly well.  However there are a number of common pitfalls around the use of postProcess searches in general.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 04:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/combining-savedsearch-and-postProcess-does-not-work/m-p/69791#M4337</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-06-24T04:22:25Z</dc:date>
    </item>
  </channel>
</rss>

