<?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 stats count by _time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/stats-count-by-time/m-p/68152#M17054</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;stats count by _time 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi all,
I've a query where i count by _time but if in a day there aren't events it is not show in the count. How can i see also a date with zero events? thanks&lt;/P&gt;</description>
    <pubDate>Mon, 11 Oct 2010 20:49:05 GMT</pubDate>
    <dc:creator>pinzer</dc:creator>
    <dc:date>2010-10-11T20:49:05Z</dc:date>
    <item>
      <title>stats count by _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-count-by-time/m-p/68152#M17054</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;stats count by _time 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi all,
I've a query where i count by _time but if in a day there aren't events it is not show in the count. How can i see also a date with zero events? thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2010 20:49:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-count-by-time/m-p/68152#M17054</guid>
      <dc:creator>pinzer</dc:creator>
      <dc:date>2010-10-11T20:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: stats count by _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-count-by-time/m-p/68153#M17055</link>
      <description>&lt;P&gt;With the stats command, the only series that are created for the group-by clause are those that exist in the data. If you have continuous data, you may want to manually discretize it by using the &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Bucket" rel="nofollow"&gt;bucket&lt;/A&gt; command before the stats command. If you use span=1d _time, there will be placeholder values created for empty days and all other _time values will be snapped to the day.&lt;/P&gt;

&lt;P&gt;All of this is done for you automatically in the &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Timechart" rel="nofollow"&gt;timechart&lt;/A&gt; command. &lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2010 21:20:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-count-by-time/m-p/68153#M17055</guid>
      <dc:creator>Dan</dc:creator>
      <dc:date>2010-10-11T21:20:50Z</dc:date>
    </item>
  </channel>
</rss>

