<?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 display '0' in single value with timechart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307757#M39860</link>
    <description>&lt;P&gt;My search displays 'no results' &lt;/P&gt;

&lt;P&gt;index=* sourcetype="CKBG"&lt;BR /&gt;
| where CB != GB&lt;BR /&gt;
| timechart count span=1d &lt;/P&gt;

&lt;P&gt;When I use statscount instead it displays '0' . This also what I need. Ik palyed around with fillnull but dont seem to get it working&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 10:33:35 GMT</pubDate>
    <dc:creator>Mike6960</dc:creator>
    <dc:date>2018-02-26T10:33:35Z</dc:date>
    <item>
      <title>display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307757#M39860</link>
      <description>&lt;P&gt;My search displays 'no results' &lt;/P&gt;

&lt;P&gt;index=* sourcetype="CKBG"&lt;BR /&gt;
| where CB != GB&lt;BR /&gt;
| timechart count span=1d &lt;/P&gt;

&lt;P&gt;When I use statscount instead it displays '0' . This also what I need. Ik palyed around with fillnull but dont seem to get it working&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 10:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307757#M39860</guid>
      <dc:creator>Mike6960</dc:creator>
      <dc:date>2018-02-26T10:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307758#M39861</link>
      <description>&lt;P&gt;Can you please look at this answer: &lt;BR /&gt;
&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;BR /&gt;
It might give you an answer.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 10:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307758#M39861</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2018-02-26T10:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307759#M39862</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype="CKBG"
| where CB != GB
| timechart span=1d count  | appendpipe [| stats count | where count=0 | addinfo | eval _time=info_min_time | table _time count]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=* sourcetype="CKBG"
| where CB != GB
| timechart span=1d count | appendpipe [| stats count | where count=0 | addinfo | eval time=info_min_time." ".info_max_time | table time count | makemv time| mvexpand time | rename time as _time | timechart span=1d max(count) as count]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 10:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307759#M39862</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-26T10:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307760#M39863</link>
      <description>&lt;P&gt;This answers 'talks' about when there is no result. I have a result, but that is '0' . Besides that, I use a timechart which isn't mentioned in the answer&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 10:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307760#M39863</guid>
      <dc:creator>Mike6960</dc:creator>
      <dc:date>2018-02-26T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307761#M39864</link>
      <description>&lt;P&gt;Thanks, the first one works. Don't really understand how it works but thats beside the point. Only thing is that it does not show a trendline now. Second one does not display results. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 11:10:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307761#M39864</guid>
      <dc:creator>Mike6960</dc:creator>
      <dc:date>2018-02-26T11:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307762#M39865</link>
      <description>&lt;P&gt;what is your exact query?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 11:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307762#M39865</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-26T11:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307763#M39866</link>
      <description>&lt;P&gt;the one i put in my question&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 11:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307763#M39866</guid>
      <dc:creator>Mike6960</dc:creator>
      <dc:date>2018-02-26T11:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307764#M39867</link>
      <description>&lt;P&gt;I used this one (yours) &lt;BR /&gt;
 index=* sourcetype="CKBG"&lt;BR /&gt;
 | where CB != GB&lt;BR /&gt;
 | timechart span=1d count  | appendpipe [| stats count | where count=0 | addinfo | eval _time=info_min_time | table _time count]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307764#M39867</guid>
      <dc:creator>Mike6960</dc:creator>
      <dc:date>2020-09-29T18:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307765#M39868</link>
      <description>&lt;P&gt;how will it show trendline automatically? you would need to use trendline command at the end of the query right?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 12:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307765#M39868</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-26T12:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: display '0' in single value with timechart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307766#M39869</link>
      <description>&lt;P&gt;No, trendline is selected in 'menu' 'formatting visualisation'&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 12:18:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/display-0-in-single-value-with-timechart/m-p/307766#M39869</guid>
      <dc:creator>Mike6960</dc:creator>
      <dc:date>2018-02-26T12:18:59Z</dc:date>
    </item>
  </channel>
</rss>

