<?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: Add zero value when using _time field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549602#M155957</link>
    <description>&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 12:29:26 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-04-28T12:29:26Z</dc:date>
    <item>
      <title>Add zero value when using _time field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549456#M155901</link>
      <description>&lt;P&gt;When using stats count on searches, it does not show zero values on specific time intervals.&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;index=main sourcetype=test (event=eventA OR eventB)&lt;BR /&gt;| bin _time span=1h&lt;BR /&gt;| stats count by _time, event&lt;BR /&gt;&lt;BR /&gt;Sample Result:&lt;BR /&gt;&lt;BR /&gt;_time Event count&lt;BR /&gt;04/27 1:00AM EventA 10&lt;BR /&gt;04/27 2:00AM EventA 10&lt;BR /&gt;04/27 1:00AM EventB 10&lt;BR /&gt;&lt;BR /&gt;How can I show row with zero value?&amp;nbsp;&lt;BR /&gt;_time Event count&lt;BR /&gt;04/27 1:00AM EventA 10&lt;BR /&gt;04/27 2:00AM EventA 10&lt;BR /&gt;&lt;STRONG&gt;04/27 3:00AM EventA 0&lt;/STRONG&gt;&lt;BR /&gt;04/27 1:00AM EventB 10&lt;BR /&gt;&lt;STRONG&gt;04/27 2:00AM EventB 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;04/27 3:00AM EventB 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 12:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549456#M155901</guid>
      <dc:creator>whitefang1726</dc:creator>
      <dc:date>2021-04-27T12:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add zero value when using _time field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549459#M155903</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;stats&lt;/FONT&gt; command will not fill in missing values, but &lt;FONT face="courier new,courier"&gt;timechart&lt;/FONT&gt; will.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main sourcetype=test (event=eventA OR eventB)
| timechart span=1h count by event&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549459#M155903</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-04-27T13:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add zero value when using _time field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549551#M155940</link>
      <description>&lt;P&gt;I was expecting a non-timechart command, but that works. Better than creating long queries. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 02:01:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549551#M155940</guid>
      <dc:creator>whitefang1726</dc:creator>
      <dc:date>2021-04-28T02:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add zero value when using _time field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549602#M155957</link>
      <description>&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 12:29:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-zero-value-when-using-time-field/m-p/549602#M155957</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-04-28T12:29:26Z</dc:date>
    </item>
  </channel>
</rss>

