<?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: graph only cumulative data with timechart and streamstats in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171546#M49166</link>
    <description>&lt;P&gt;Just add a table/fields command to remove other columns.&lt;/P&gt;

&lt;P&gt;Query version from Blogpost&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal group="per_index_thruput" earliest=@d latest=@h
   | eval mb=kb/1024
   | timechart span=1h sum(mb) as HourlyTotal by series
   | addtotals fieldname=HourlyTotal
   | streamstats sum(HourlyTotal) AS AccumulatedTOTAL 
   | table _time AccumulatedTOTAL
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Another version&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=_internal group="per_index_thruput" earliest=@d latest=@h
       | eval mb=kb/1024
       | timechart span=1h sum(mb) as HourlyTotal
       | streamstats sum(HourlyTotal) AS AccumulatedTOTAL 
       | table _time AccumulatedTOTAL
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 09 Mar 2015 19:37:38 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2015-03-09T19:37:38Z</dc:date>
    <item>
      <title>graph only cumulative data with timechart and streamstats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171545#M49165</link>
      <description>&lt;P&gt;I've found this on the Splunk wiki that gives great examples on how to graph several sources and their cumulative totals: &lt;A href="http://wiki.splunk.com/Community:Search_Report:_How_To_Create_a_Chart_of_Hourly_and_Accumulated_Index_Volume"&gt;http://wiki.splunk.com/Community:Search_Report:_How_To_Create_a_Chart_of_Hourly_and_Accumulated_Index_Volume&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is it possible to use a similar method, but to only graph the cumulative total and not each of the individual sources that make up that total?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 18:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171545#M49165</guid>
      <dc:creator>bill_bartlett</dc:creator>
      <dc:date>2015-03-09T18:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: graph only cumulative data with timechart and streamstats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171546#M49166</link>
      <description>&lt;P&gt;Just add a table/fields command to remove other columns.&lt;/P&gt;

&lt;P&gt;Query version from Blogpost&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal group="per_index_thruput" earliest=@d latest=@h
   | eval mb=kb/1024
   | timechart span=1h sum(mb) as HourlyTotal by series
   | addtotals fieldname=HourlyTotal
   | streamstats sum(HourlyTotal) AS AccumulatedTOTAL 
   | table _time AccumulatedTOTAL
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Another version&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=_internal group="per_index_thruput" earliest=@d latest=@h
       | eval mb=kb/1024
       | timechart span=1h sum(mb) as HourlyTotal
       | streamstats sum(HourlyTotal) AS AccumulatedTOTAL 
       | table _time AccumulatedTOTAL
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Mar 2015 19:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171546#M49166</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-03-09T19:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: graph only cumulative data with timechart and streamstats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171547#M49167</link>
      <description>&lt;P&gt;Thank you, this is almost perfect.  Is there a way to format the time bucket on the chart?  As it is now, the format makes for a very ugly chart if graphing more than a handful of columns. &lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 19:50:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171547#M49167</guid>
      <dc:creator>bill_bartlett</dc:creator>
      <dc:date>2015-03-09T19:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: graph only cumulative data with timechart and streamstats</title>
      <link>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171548#M49168</link>
      <description>&lt;P&gt;I've figured it out.  This search works perfect for my needs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal group="per_index_thruput" earliest=@d latest=@h
    | eval mb=kb/1024
    | timechart span=1h sum(mb) as HourlyTotal by series
    | addtotals fieldname=HourlyTotal
    | streamstats sum(HourlyTotal) AS AccumulatedTOTAL 
    | table _time AccumulatedTOTAL
    | eval _time=strftime(_time, "%m/%d %H:%M")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Mar 2015 20:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/graph-only-cumulative-data-with-timechart-and-streamstats/m-p/171548#M49168</guid>
      <dc:creator>bill_bartlett</dc:creator>
      <dc:date>2015-03-09T20:00:50Z</dc:date>
    </item>
  </channel>
</rss>

