<?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: How to display zero count in a stats table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445828#M126472</link>
    <description>&lt;P&gt;Don't thank me, thank @duckfez! &lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&gt;😆&lt;/span&gt;  Maybe he will comment and you can &lt;CODE&gt;UpVote&lt;/CODE&gt; him.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jul 2018 13:20:33 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2018-07-17T13:20:33Z</dc:date>
    <item>
      <title>How to display zero count in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445823#M126467</link>
      <description>&lt;P&gt;Hi, I wonder whether someone may be able to help me please.&lt;/P&gt;

&lt;P&gt;I'm using the following stats query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`wso2_wmf(RequestCompleted)`
| dedup eventId
| stats count by request.detailContext 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem I have is that it's not displaying zero values for the request.detail.Context field.&lt;/P&gt;

&lt;P&gt;If I use '| fillnull value=0' then specify each value from the request.detail.Context field then it does display those values with a zero count.&lt;/P&gt;

&lt;P&gt;But the problem with this, is that because I'm being prescriptive in field values, when new field values are being ingested into Splunk for this field, they are not being extracted in the stats table.&lt;/P&gt;

&lt;P&gt;I've looked at every post I could find of a similar nature and the solutions provided haven't worked. Could someone perhaps have a look at this and offer some guidance on how I may go about achieving this.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 08:56:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445823#M126467</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2018-07-17T08:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to display zero count in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445824#M126468</link>
      <description>&lt;P&gt;Might not be the answer, but an idea how to handle the case where the base search does not return events .... read here : &lt;A href="https://answers.splunk.com/answers/176466/how-to-use-eval-if-there-is-no-result-from-the-bas-1.html"&gt;https://answers.splunk.com/answers/176466/how-to-use-eval-if-there-is-no-result-from-the-bas-1.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 09:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445824#M126468</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-07-17T09:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to display zero count in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445825#M126469</link>
      <description>&lt;P&gt;This is the &lt;CODE&gt;Sentinel Search&lt;/CODE&gt; problem discussed (with solution) here:&lt;BR /&gt;
&lt;A href="https://conf.splunk.com/session/2015/conf2015-LookupTalk.pdf"&gt;https://conf.splunk.com/session/2015/conf2015-LookupTalk.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 13:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445825#M126469</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-17T13:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display zero count in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445826#M126470</link>
      <description>&lt;P&gt;Many thanks @woodcock.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 13:17:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445826#M126470</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2018-07-17T13:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to display zero count in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445827#M126471</link>
      <description>&lt;P&gt;Hi @MuS. Doesn't quite work for my circumstances, but it does seem to be a common issue.&lt;/P&gt;

&lt;P&gt;Thank you for taking the time to reply.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 13:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445827#M126471</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2018-07-17T13:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to display zero count in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445828#M126472</link>
      <description>&lt;P&gt;Don't thank me, thank @duckfez! &lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&gt;😆&lt;/span&gt;  Maybe he will comment and you can &lt;CODE&gt;UpVote&lt;/CODE&gt; him.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 13:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445828#M126472</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-17T13:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to display zero count in a stats table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445829#M126473</link>
      <description>&lt;P&gt;Hopefully he will, so can give him the credit aswell.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 13:24:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-zero-count-in-a-stats-table/m-p/445829#M126473</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2018-07-17T13:24:01Z</dc:date>
    </item>
  </channel>
</rss>

