<?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: Why are 2 of my 3 HiddenPostProcess searches returning zero results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126214#M184330</link>
    <description>&lt;P&gt;I havent tried HiddenPostProcess in a module yet, so this is just a guess. Try using search instead of where&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="HiddenPostProcess"&amp;gt;
         &amp;lt;param name="search"&amp;gt;| search GENDER=1|stats count&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Feb 2015 00:32:22 GMT</pubDate>
    <dc:creator>ramdaspr</dc:creator>
    <dc:date>2015-02-04T00:32:22Z</dc:date>
    <item>
      <title>Why are 2 of my 3 HiddenPostProcess searches returning zero results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126213#M184329</link>
      <description>&lt;P&gt;Hi, I'm using HiddenPostProcess. I made three HiddenPostProcess searches. The first returns the right number, but the others return 0. Can someone tell me what's wrong with my search? thx!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;param name="search"&amp;gt;index=idx_source=*xx*|where strftime(strptime(REGIST_TIME,"%s"),"%Y") = strftime(now(),"%Y")|where strftime(strptime(REGIST_TIME,"%s"),"%m") = strftime(now(),"%m")&amp;lt;/param&amp;gt;
    &amp;lt;module name="HiddenPostProcess"&amp;gt;
        &amp;lt;param name="search"&amp;gt;|stats count&amp;lt;/param&amp;gt;
        &amp;lt;module name="SingleValue"&amp;gt;
            &amp;lt;param name="beforeLabel"&amp;gt;共&amp;lt;/param&amp;gt;
            &amp;lt;param name="format"&amp;gt;number&amp;lt;/param&amp;gt;
            &amp;lt;param name="afterLabel"&amp;gt;人&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
    &amp;lt;module name="HiddenPostProcess"&amp;gt;
        &amp;lt;param name="search"&amp;gt;|where GENDER=1|stats count&amp;lt;/param&amp;gt;
        &amp;lt;module name="SingleValue"&amp;gt;
            &amp;lt;param name="beforeLabel"&amp;gt;女&amp;lt;/param&amp;gt;
            &amp;lt;param name="format"&amp;gt;number&amp;lt;/param&amp;gt;
            &amp;lt;param name="afterLabel"&amp;gt;人&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
    &amp;lt;module name="HiddenPostProcess"&amp;gt;
        &amp;lt;param name="search"&amp;gt;|where GENDER=0|stats count&amp;lt;/param&amp;gt;
        &amp;lt;module name="SingleValue"&amp;gt;
            &amp;lt;param name="beforeLabel"&amp;gt;男&amp;lt;/param&amp;gt;
            &amp;lt;param name="format"&amp;gt;number&amp;lt;/param&amp;gt;
            &amp;lt;param name="afterLabel"&amp;gt;人&amp;lt;/param&amp;gt;
        &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Feb 2015 00:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126213#M184329</guid>
      <dc:creator>luxiaobin</dc:creator>
      <dc:date>2015-02-04T00:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why are 2 of my 3 HiddenPostProcess searches returning zero results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126214#M184330</link>
      <description>&lt;P&gt;I havent tried HiddenPostProcess in a module yet, so this is just a guess. Try using search instead of where&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="HiddenPostProcess"&amp;gt;
         &amp;lt;param name="search"&amp;gt;| search GENDER=1|stats count&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Feb 2015 00:32:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126214#M184330</guid>
      <dc:creator>ramdaspr</dc:creator>
      <dc:date>2015-02-04T00:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why are 2 of my 3 HiddenPostProcess searches returning zero results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126215#M184331</link>
      <description>&lt;P&gt;it doesn`t work . anyway thx!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 13:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126215#M184331</guid>
      <dc:creator>luxiaobin</dc:creator>
      <dc:date>2015-02-04T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why are 2 of my 3 HiddenPostProcess searches returning zero results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126216#M184332</link>
      <description>&lt;P&gt;Are you sure you have the field GENDER ? if so, why not do a &lt;CODE&gt;|stats count by GENDER&lt;/CODE&gt; just to be sure that you actually have something...Do that in the search that is working, then add  &lt;CODE&gt;|search GENDER=0&lt;/CODE&gt;to see what you get &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 14:22:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126216#M184332</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2015-02-04T14:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why are 2 of my 3 HiddenPostProcess searches returning zero results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126217#M184333</link>
      <description>&lt;P&gt;I find the solution from here &lt;A href="http://answers.splunk.com/answers/36752/hiddenpostprocess.html"&gt;http://answers.splunk.com/answers/36752/hiddenpostprocess.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 14:28:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-2-of-my-3-HiddenPostProcess-searches-returning-zero/m-p/126217#M184333</guid>
      <dc:creator>luxiaobin</dc:creator>
      <dc:date>2015-02-04T14:28:16Z</dc:date>
    </item>
  </channel>
</rss>

