<?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 ignore days with no data in timechart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405414#M168663</link>
    <description>&lt;P&gt;Try adding &lt;CODE&gt;cont=f&lt;/CODE&gt; parameter&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="x"
| timechart span=1d count(Number) cont=f
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Jun 2018 15:27:44 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-06-27T15:27:44Z</dc:date>
    <item>
      <title>How to ignore days with no data in timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405412#M168661</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I want to be able to ignore days where data was not collected. I am using the following search:&lt;/P&gt;

&lt;P&gt;index="x"&lt;BR /&gt;
| timechart span=1d count(Number)&lt;/P&gt;

&lt;P&gt;What command can I use to ignore these non value added days?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 15:18:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405412#M168661</guid>
      <dc:creator>tonahoyos</dc:creator>
      <dc:date>2018-06-27T15:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore days with no data in timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405413#M168662</link>
      <description>&lt;P&gt;Timechart generates a continuous timerange. If you just want the count on days where there are some events, just do the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="x"
| bin _time span=1d
| stats count(Number) by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or try the following, by setting &lt;CODE&gt;cont=false&lt;/CODE&gt; for the timechart command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="x"
| timechart span=1d cont=false count(Number)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jun 2018 15:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405413#M168662</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-27T15:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore days with no data in timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405414#M168663</link>
      <description>&lt;P&gt;Try adding &lt;CODE&gt;cont=f&lt;/CODE&gt; parameter&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="x"
| timechart span=1d count(Number) cont=f
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jun 2018 15:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405414#M168663</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-06-27T15:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore days with no data in timechart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405415#M168664</link>
      <description>&lt;P&gt;@FrankVl, you documented both... I thought I would just add the timechart one &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 15:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-ignore-days-with-no-data-in-timechart/m-p/405415#M168664</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-06-27T15:55:41Z</dc:date>
    </item>
  </channel>
</rss>

