<?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: Moving aggregate graph in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Moving-aggregate-graph/m-p/61181#M15083</link>
    <description>&lt;P&gt;This is a straightfoward time-based statistical aggregation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH_HERE | timechart span=1m dc(myfield)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember to set the timerange of the search to 'last 5 minutes'.&lt;/P&gt;

&lt;P&gt;If you want to see that actual values in its own column:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH_HERE | timechart span=1m dc(myfield) values(myfield)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 19 Aug 2011 23:46:11 GMT</pubDate>
    <dc:creator>Johnvey</dc:creator>
    <dc:date>2011-08-19T23:46:11Z</dc:date>
    <item>
      <title>Moving aggregate graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Moving-aggregate-graph/m-p/61180#M15082</link>
      <description>&lt;P&gt;How can I calculate a graph where:&lt;/P&gt;

&lt;P&gt;For each point plotted on the graph, the y-axis is a count of the number of distinct values of a certain field in the last 5 minutes.&lt;/P&gt;

&lt;P&gt;So if I had an log like this:&lt;/P&gt;

&lt;P&gt;hh mm ss&lt;/P&gt;

&lt;P&gt;00:00:30 myfield = 'A'&lt;/P&gt;

&lt;P&gt;00:01:30 myfield = 'B'&lt;/P&gt;

&lt;P&gt;00:02:30 myfield = 'C'&lt;/P&gt;

&lt;P&gt;00:03:30 myfield = 'D'&lt;/P&gt;

&lt;P&gt;00:04:30 myfield = 'C'&lt;/P&gt;

&lt;P&gt;00:05:30 myfield = 'D'&lt;/P&gt;

&lt;P&gt;00:06:30 myfield = 'C'&lt;/P&gt;

&lt;P&gt;I'd like an output like this (only the counts, not the letters)&lt;/P&gt;

&lt;P&gt;00:01:00 =&amp;gt; 1   (A)&lt;/P&gt;

&lt;P&gt;00:02:00 =&amp;gt; 2   (A and B)&lt;/P&gt;

&lt;P&gt;00:03:00 =&amp;gt; 3   (A, B, C)&lt;/P&gt;

&lt;P&gt;00:04:00 =&amp;gt; 4   (A, B, C, D)&lt;/P&gt;

&lt;P&gt;00:05:00 =&amp;gt; 4   (A, B, C, D)&lt;/P&gt;

&lt;P&gt;00:06:00 =&amp;gt; 3   (B, C, D)&lt;/P&gt;

&lt;P&gt;00:07:00 =&amp;gt; 2   (C, D)&lt;/P&gt;

&lt;P&gt;Is this possible with "concurrency?"&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 23:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Moving-aggregate-graph/m-p/61180#M15082</guid>
      <dc:creator>wtanaka</dc:creator>
      <dc:date>2011-08-19T23:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Moving aggregate graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Moving-aggregate-graph/m-p/61181#M15083</link>
      <description>&lt;P&gt;This is a straightfoward time-based statistical aggregation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH_HERE | timechart span=1m dc(myfield)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Remember to set the timerange of the search to 'last 5 minutes'.&lt;/P&gt;

&lt;P&gt;If you want to see that actual values in its own column:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;YOUR_SEARCH_HERE | timechart span=1m dc(myfield) values(myfield)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Aug 2011 23:46:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Moving-aggregate-graph/m-p/61181#M15083</guid>
      <dc:creator>Johnvey</dc:creator>
      <dc:date>2011-08-19T23:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moving aggregate graph</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Moving-aggregate-graph/m-p/61182#M15084</link>
      <description>&lt;P&gt;I'm trying to construct this moving aggregate graph over a long time frame, for example with a data set that's a year long, instead of 6 minutes long like in my example.  Would that mean that I'd just set span=5m instead of 1m?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2011 00:06:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Moving-aggregate-graph/m-p/61182#M15084</guid>
      <dc:creator>wtanaka</dc:creator>
      <dc:date>2011-08-20T00:06:08Z</dc:date>
    </item>
  </channel>
</rss>

