<?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: Display value in chart even if count if zero in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Display-value-in-chart-even-if-count-if-zero/m-p/158862#M44792</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=app3* (app3_level="Fatal" OR app3_level="Error") | chart count by app3_level,app3_message  | append [| gentimes start=-1 | eval app3_level="Fatal Error" | table app3_level | makemv app3_level | mvexpand app3_level ] | fillnull value=0 | stats max(*) as * by app3_level,app3_message
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 15 Dec 2014 18:09:07 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-12-15T18:09:07Z</dc:date>
    <item>
      <title>Display value in chart even if count if zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-value-in-chart-even-if-count-if-zero/m-p/158861#M44791</link>
      <description>&lt;P&gt;Looking to do a chart and even if the count of a value is 0 still diplay the name of the value.  My search so far is:&lt;BR /&gt;
&lt;CODE&gt;sourcetype=app3* (app3_level="Fatal" OR app3_level="Error") | chart count by app3_level,app3_message&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I tried to add to the end of the statement but it didn't help.&lt;BR /&gt;
&lt;CODE&gt;| fillnull value=0 app3_level&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Most of the time there is not a "app3_level=Fatal" but I still want it to show up in the column.  Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2014 17:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-value-in-chart-even-if-count-if-zero/m-p/158861#M44791</guid>
      <dc:creator>treinke</dc:creator>
      <dc:date>2014-12-15T17:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Display value in chart even if count if zero</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Display-value-in-chart-even-if-count-if-zero/m-p/158862#M44792</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=app3* (app3_level="Fatal" OR app3_level="Error") | chart count by app3_level,app3_message  | append [| gentimes start=-1 | eval app3_level="Fatal Error" | table app3_level | makemv app3_level | mvexpand app3_level ] | fillnull value=0 | stats max(*) as * by app3_level,app3_message
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Dec 2014 18:09:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Display-value-in-chart-even-if-count-if-zero/m-p/158862#M44792</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-15T18:09:07Z</dc:date>
    </item>
  </channel>
</rss>

