<?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: Timecharting the sum() of min()/avg()/max() in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43976#M10386</link>
    <description>&lt;P&gt;forgot to add time to the split-by clause of the stats. modified the search in the answer...&lt;/P&gt;</description>
    <pubDate>Fri, 04 May 2012 20:12:21 GMT</pubDate>
    <dc:creator>ziegfried</dc:creator>
    <dc:date>2012-05-04T20:12:21Z</dc:date>
    <item>
      <title>Timecharting the sum() of min()/avg()/max()</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43973#M10383</link>
      <description>&lt;P&gt;I'm sure there is an easy answer for this and I'm going feel silly when I see it.  I have a scripted input that pulls volume data for several volumes every 5 minutes.  I would like to see the change in used terabytes of the combined volumes over time (each volume has a used_tb key/value pair in the log).  For short timeperiods, I can do...&lt;/P&gt;

&lt;P&gt;... | timechart span=5m sum(used_tb)&lt;/P&gt;

&lt;P&gt;but when once I need to go beyond the last 24 hours, this breaks down.  I can do...&lt;/P&gt;

&lt;P&gt;... | timechart span=1h min(used_tb) by volume&lt;/P&gt;

&lt;P&gt;and then use an area graph in stacked mode to get the idea, but I can't get an accurate measure when I hover over the graph (the pop up is for the individual volumes).&lt;/P&gt;

&lt;P&gt;I thought that nesting the functions...&lt;/P&gt;

&lt;P&gt;... | timechart span=1h sum(min(used_tb) by volume)&lt;/P&gt;

&lt;P&gt;would work, but this produces no values.&lt;/P&gt;

&lt;P&gt;What really easy thing am I missing here?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 19:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43973#M10383</guid>
      <dc:creator>jeffa</dc:creator>
      <dc:date>2012-05-04T19:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting the sum() of min()/avg()/max()</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43974#M10384</link>
      <description>&lt;P&gt;This one should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | bucket _time span=1h | stats min(used_tb) as min_used by volume,_time | timechart span=1h sum(min_used)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 May 2012 20:02:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43974#M10384</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-05-04T20:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting the sum() of min()/avg()/max()</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43975#M10385</link>
      <description>&lt;P&gt;That search still doesn't produce any charting results.  I have played w/ bucketing and eval but no luck.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 20:11:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43975#M10385</guid>
      <dc:creator>jeffa</dc:creator>
      <dc:date>2012-05-04T20:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting the sum() of min()/avg()/max()</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43976#M10386</link>
      <description>&lt;P&gt;forgot to add time to the split-by clause of the stats. modified the search in the answer...&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 20:12:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43976#M10386</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-05-04T20:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timecharting the sum() of min()/avg()/max()</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43977#M10387</link>
      <description>&lt;P&gt;Brilliant!  That did the trick.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 20:23:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timecharting-the-sum-of-min-avg-max/m-p/43977#M10387</guid>
      <dc:creator>jeffa</dc:creator>
      <dc:date>2012-05-04T20:23:25Z</dc:date>
    </item>
  </channel>
</rss>

