<?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 How to display bucket/histogram data with zero count? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15543#M1916</link>
    <description>&lt;P&gt;I'm trying to run a bucket/histogram of data but I want to display buckets that have zero count.  By default, bucket seems to hide those entries.&lt;/P&gt;

&lt;P&gt;Quick example -- histogram of CPU-load on a group of machines.  Each machine logs cpu-load as 'x' every 15min, I pick the latest entry for each host and bucket that data:&lt;/P&gt;

&lt;P&gt;(search command) |stats first(x) as ff by host |bucket ff bins=10 start=0 end=10 |chart count(ff) over ff&lt;/P&gt;

&lt;P&gt;Is there a way to tell bucket (or chart) that it should display all bins, even if they are zero-count?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jun 2010 20:09:12 GMT</pubDate>
    <dc:creator>jbp4444</dc:creator>
    <dc:date>2010-06-15T20:09:12Z</dc:date>
    <item>
      <title>How to display bucket/histogram data with zero count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15543#M1916</link>
      <description>&lt;P&gt;I'm trying to run a bucket/histogram of data but I want to display buckets that have zero count.  By default, bucket seems to hide those entries.&lt;/P&gt;

&lt;P&gt;Quick example -- histogram of CPU-load on a group of machines.  Each machine logs cpu-load as 'x' every 15min, I pick the latest entry for each host and bucket that data:&lt;/P&gt;

&lt;P&gt;(search command) |stats first(x) as ff by host |bucket ff bins=10 start=0 end=10 |chart count(ff) over ff&lt;/P&gt;

&lt;P&gt;Is there a way to tell bucket (or chart) that it should display all bins, even if they are zero-count?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 20:09:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15543#M1916</guid>
      <dc:creator>jbp4444</dc:creator>
      <dc:date>2010-06-15T20:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to display bucket/histogram data with zero count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15544#M1917</link>
      <description>&lt;P&gt;You should probably just not invoke &lt;CODE&gt;bucket&lt;/CODE&gt; at all, and just use &lt;CODE&gt;chart count(ff) over ff bins=10&lt;/CODE&gt;, or use &lt;CODE&gt;makecontinuous&lt;/CODE&gt; instead of &lt;CODE&gt;bucket&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 20:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15544#M1917</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-15T20:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to display bucket/histogram data with zero count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15545#M1918</link>
      <description>&lt;P&gt;That works exactly how I wanted it -- thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2010 21:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15545#M1918</guid>
      <dc:creator>jbp4444</dc:creator>
      <dc:date>2010-06-15T21:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to display bucket/histogram data with zero count?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15546#M1919</link>
      <description>&lt;P&gt;Thanks for making me aware of the &lt;CODE&gt;makecontinuous&lt;/CODE&gt; command&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 23:07:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-bucket-histogram-data-with-zero-count/m-p/15546#M1919</guid>
      <dc:creator>helge</dc:creator>
      <dc:date>2017-02-24T23:07:15Z</dc:date>
    </item>
  </channel>
</rss>

