<?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: fillnull not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302835#M91142</link>
    <description>&lt;P&gt;can you try :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | stats count AS abc_count by ABC | fillnull abc_count value=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Apr 2018 09:12:51 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2018-04-04T09:12:51Z</dc:date>
    <item>
      <title>fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302832#M91139</link>
      <description>&lt;P&gt;I have a query &lt;BR /&gt;
base query | stats count by ABC |  fillnull&lt;/P&gt;

&lt;P&gt;but i am getting "no result"&lt;/P&gt;

&lt;P&gt;instead of this, i want to display ABC count as "zero"&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 08:43:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302832#M91139</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-04T08:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302833#M91140</link>
      <description>&lt;P&gt;Can you share whole query? Is ABC field exist?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 08:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302833#M91140</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-04T08:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302834#M91141</link>
      <description>&lt;P&gt;yes..it exist..please consider ABC is name of error&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 09:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302834#M91141</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-04T09:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302835#M91142</link>
      <description>&lt;P&gt;can you try :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | stats count AS abc_count by ABC | fillnull abc_count value=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Apr 2018 09:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302835#M91142</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-04T09:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302836#M91143</link>
      <description>&lt;P&gt;I don't entirely follow what you're trying to achieve, but the purpose of fillnull is to populate empty fields with a null value, not to generate results when there are none. When the stats command returns 0 results, there is nothing to apply "fillnull" on.&lt;/P&gt;

&lt;P&gt;If you can elaborate a bit more what you want to achieve (and if possible show some sample data and expected outcomes) we can try and help you find a solution that does work.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 09:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302836#M91143</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-04T09:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302837#M91144</link>
      <description>&lt;P&gt;still i am getting the same result&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 10:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302837#M91144</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-04T10:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302838#M91145</link>
      <description>&lt;P&gt;stats command displaying "no result found" but i need value zero to be displayed&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 10:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302838#M91145</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-04T10:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302839#M91146</link>
      <description>&lt;P&gt;Do you need something like this:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/582253/replacing-no-results-found-with-0.html"&gt;https://answers.splunk.com/answers/582253/replacing-no-results-found-with-0.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 10:16:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302839#M91146</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-04T10:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302840#M91147</link>
      <description>&lt;P&gt;yes..could you please modify and provide the query&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 10:30:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302840#M91147</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-04T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302841#M91148</link>
      <description>&lt;P&gt;Try this  - from here: &lt;A href="https://answers.splunk.com/answers/467823/if-there-are-no-results-found-how-do-i-get-my-sear.html"&gt;https://answers.splunk.com/answers/467823/if-there-are-no-results-found-how-do-i-get-my-sear.html&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base query | stats count by ABC
 | appendpipe [ stats count | eval "NoResults"="0"  | where count=0 |table "NoResults"]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:44:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302841#M91148</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-04-04T14:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302842#M91149</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base query 
| append [|makeresults | eval count=""]
| stats count by ABC
|eval count=if(isnotnull(count),0,'count')
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302842#M91149</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-04-04T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302843#M91150</link>
      <description>&lt;P&gt;Awesome...i tried this query and its working fine..&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 12:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302843#M91150</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-05T12:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302844#M91151</link>
      <description>&lt;P&gt;Thanks for your help..still same result when i use this query&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 12:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302844#M91151</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-04-05T12:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: fillnull not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302845#M91152</link>
      <description>&lt;P&gt;Works on mine.. &lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:43:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/fillnull-not-working/m-p/302845#M91152</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-04-05T14:43:40Z</dc:date>
    </item>
  </channel>
</rss>

