<?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 Stacked timechart of accumulative count with missing values? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68929#M17306</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the following search which generates the data below:&lt;/P&gt;

&lt;P&gt;some_search | bucket _time span=1h   | stats count as total_count by _time gender | streamstats sum(total_count) as acc_count by gender.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;/&lt;STRONG&gt;gender&lt;/STRONG&gt;/&lt;STRONG&gt;count&lt;/STRONG&gt;/&lt;STRONG&gt;acc_count&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2/21/13 9:00:00.000 PM  female  1   1&lt;/P&gt;

&lt;P&gt;2/21/13 9:00:00.000 PM  male            1   1&lt;/P&gt;

&lt;P&gt;2/22/13 9:00:00.000 PM  female  1   2&lt;/P&gt;

&lt;P&gt;2/22/13 9:00:00.000 PM  male            1   2&lt;/P&gt;

&lt;P&gt;2/22/13 7:00:00.000 PM  female  1   3&lt;/P&gt;

&lt;P&gt;2/23/13 9:00:00.000 PM  male            2   4&lt;/P&gt;

&lt;P&gt;2/24/13 9:00:00.000 PM  male            1   5&lt;/P&gt;

&lt;P&gt;When I chart it with: &lt;/P&gt;

&lt;P&gt;| timechart span=1d max(acc_count) by gender&lt;/P&gt;

&lt;P&gt;I have a problem on the 23rd and 24th because there are no females and therefore the stacked chart shows nothing.&lt;BR /&gt;
I am trying to show accumulative values so the chart should show 3 females on the 23rd and 24th like on the 22nd.&lt;/P&gt;

&lt;P&gt;Anyone have an idea?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:33:45 GMT</pubDate>
    <dc:creator>noambz</dc:creator>
    <dc:date>2020-09-28T13:33:45Z</dc:date>
    <item>
      <title>Stacked timechart of accumulative count with missing values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68929#M17306</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the following search which generates the data below:&lt;/P&gt;

&lt;P&gt;some_search | bucket _time span=1h   | stats count as total_count by _time gender | streamstats sum(total_count) as acc_count by gender.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;/&lt;STRONG&gt;gender&lt;/STRONG&gt;/&lt;STRONG&gt;count&lt;/STRONG&gt;/&lt;STRONG&gt;acc_count&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2/21/13 9:00:00.000 PM  female  1   1&lt;/P&gt;

&lt;P&gt;2/21/13 9:00:00.000 PM  male            1   1&lt;/P&gt;

&lt;P&gt;2/22/13 9:00:00.000 PM  female  1   2&lt;/P&gt;

&lt;P&gt;2/22/13 9:00:00.000 PM  male            1   2&lt;/P&gt;

&lt;P&gt;2/22/13 7:00:00.000 PM  female  1   3&lt;/P&gt;

&lt;P&gt;2/23/13 9:00:00.000 PM  male            2   4&lt;/P&gt;

&lt;P&gt;2/24/13 9:00:00.000 PM  male            1   5&lt;/P&gt;

&lt;P&gt;When I chart it with: &lt;/P&gt;

&lt;P&gt;| timechart span=1d max(acc_count) by gender&lt;/P&gt;

&lt;P&gt;I have a problem on the 23rd and 24th because there are no females and therefore the stacked chart shows nothing.&lt;BR /&gt;
I am trying to show accumulative values so the chart should show 3 females on the 23rd and 24th like on the 22nd.&lt;/P&gt;

&lt;P&gt;Anyone have an idea?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68929#M17306</guid>
      <dc:creator>noambz</dc:creator>
      <dc:date>2020-09-28T13:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked timechart of accumulative count with missing values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68930#M17307</link>
      <description>&lt;P&gt;Struggled with this for many hours but found the answer 20 min after posting....&lt;/P&gt;

&lt;P&gt;filldown command did the trick!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 21:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68930#M17307</guid>
      <dc:creator>noambz</dc:creator>
      <dc:date>2013-03-20T21:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked timechart of accumulative count with missing values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68931#M17308</link>
      <description>&lt;P&gt;As an alternative, you can simplify your search a lot:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;some search | timechart span=1d count as total_count by gender | streamstats sum(*) as *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;No filldown needed.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 21:37:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68931#M17308</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-20T21:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked timechart of accumulative count with missing values?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68932#M17309</link>
      <description>&lt;P&gt;Great.&lt;BR /&gt;
Didn't know about that * option.&lt;BR /&gt;
That did the trick and is much simpler!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 21:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Stacked-timechart-of-accumulative-count-with-missing-values/m-p/68932#M17309</guid>
      <dc:creator>noambz</dc:creator>
      <dc:date>2013-03-20T21:55:09Z</dc:date>
    </item>
  </channel>
</rss>

