<?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 use stats group by _time without null fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-stats-group-by-time-without-null-fields/m-p/147557#M41240</link>
    <description>&lt;P&gt;The easiest way is to "fudge" the time a bit like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Original Search up until the stats command here | bucket _time span=5m | stats first (*) AS * BY _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If  you still see some NULL values, keep bumping up &lt;CODE&gt;5m&lt;/CODE&gt; until you don't.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Aug 2015 12:33:34 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-08-03T12:33:34Z</dc:date>
    <item>
      <title>How to use stats group by _time without null fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-stats-group-by-time-without-null-fields/m-p/147555#M41238</link>
      <description>&lt;P&gt;Here is a screenshot of what I do. &lt;IMG src="http://i.imgur.com/h3DrgAS.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;How can I remove null fields and put the values side by side? I am using stats table group by _time to get all the metrics but it seems that metrics are not indexed at the same time and result in blank fields. How can I resolve this issue? Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 02:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-stats-group-by-time-without-null-fields/m-p/147555#M41238</guid>
      <dc:creator>josefa123</dc:creator>
      <dc:date>2015-07-30T02:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use stats group by _time without null fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-stats-group-by-time-without-null-fields/m-p/147556#M41239</link>
      <description>&lt;P&gt;how does _time look in the above table? you can bucket the events into a specific time range before you do stats . This way all events within that time period are grouped together. Example below which groups all the events in a 5 min window &lt;BR /&gt;
&lt;PRE&gt;.. | bucket _time span=5m | stats..&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 03:00:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-stats-group-by-time-without-null-fields/m-p/147556#M41239</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2015-07-30T03:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use stats group by _time without null fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-stats-group-by-time-without-null-fields/m-p/147557#M41240</link>
      <description>&lt;P&gt;The easiest way is to "fudge" the time a bit like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Original Search up until the stats command here | bucket _time span=5m | stats first (*) AS * BY _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If  you still see some NULL values, keep bumping up &lt;CODE&gt;5m&lt;/CODE&gt; until you don't.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 12:33:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-stats-group-by-time-without-null-fields/m-p/147557#M41240</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-03T12:33:34Z</dc:date>
    </item>
  </channel>
</rss>

