<?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 Extracting / Plotting Splunk data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extracting-Plotting-Splunk-data/m-p/75397#M19057</link>
    <description>&lt;P&gt;Assume we have a log file with at least the following fields&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  timestamp   field A   field B   field C .....

  ex:

  1316018215   u1       105        a
  1316018215   u2       30         a
  1316018215   u3       550        c
  1316018215   u2        21        a
  1316018215   u1       65         b
  1316018215   u3       105        a
  1316018215   u2        34        b
  1316018215   u1       105        c
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The question: I would like to ask the following questions of this data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1. Plot for me a graph of Unique C vs. (sum of B for each unique C )
2. Plot for me a graph of Unique C vs. (sum of B for each unique C div count of occurrences).
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 14 Sep 2011 17:05:11 GMT</pubDate>
    <dc:creator>netwrkr</dc:creator>
    <dc:date>2011-09-14T17:05:11Z</dc:date>
    <item>
      <title>Extracting / Plotting Splunk data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-Plotting-Splunk-data/m-p/75397#M19057</link>
      <description>&lt;P&gt;Assume we have a log file with at least the following fields&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  timestamp   field A   field B   field C .....

  ex:

  1316018215   u1       105        a
  1316018215   u2       30         a
  1316018215   u3       550        c
  1316018215   u2        21        a
  1316018215   u1       65         b
  1316018215   u3       105        a
  1316018215   u2        34        b
  1316018215   u1       105        c
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The question: I would like to ask the following questions of this data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1. Plot for me a graph of Unique C vs. (sum of B for each unique C )
2. Plot for me a graph of Unique C vs. (sum of B for each unique C div count of occurrences).
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Sep 2011 17:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-Plotting-Splunk-data/m-p/75397#M19057</guid>
      <dc:creator>netwrkr</dc:creator>
      <dc:date>2011-09-14T17:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting / Plotting Splunk data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extracting-Plotting-Splunk-data/m-p/75398#M19058</link>
      <description>&lt;P&gt;#1:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yourbasesearch&amp;gt; | stats sum(B) by C
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;#2:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yourbasesearch&amp;gt; | stats avg(B) by C
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Sep 2011 17:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extracting-Plotting-Splunk-data/m-p/75398#M19058</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-09-14T17:28:49Z</dc:date>
    </item>
  </channel>
</rss>

