<?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: Simple chart from field values, rather than field count in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70508#M17640</link>
    <description>&lt;P&gt;Looks like it would work, but I get an empty chart! Also, avg CPU isn't going to be concise enough. Do you know if there's a way to get the LATEST field for each host entry?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2011 01:38:44 GMT</pubDate>
    <dc:creator>beaunewcomb</dc:creator>
    <dc:date>2011-03-31T01:38:44Z</dc:date>
    <item>
      <title>Simple chart from field values, rather than field count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70506#M17638</link>
      <description>&lt;P&gt;sourcetype=syslog "CPU Temp" | sort –CPU_Temp | table host CPU_Temp&lt;/P&gt;

&lt;P&gt;CPU_Temp is a field with a numerical value (Temp of the CPU in celsius)&lt;/P&gt;

&lt;P&gt;I'd like to create a chart with the resulting data:
x-axis = host
y-axis = CPU_Temp&lt;/P&gt;

&lt;P&gt;So far everything I've tried with the GUI and the chart command isn't working. Does anyone have any ideas?&lt;/P&gt;

&lt;P&gt;Bonus if you can make it show the top 100 CPU Temps!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2011 06:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70506#M17638</guid>
      <dc:creator>beaunewcomb</dc:creator>
      <dc:date>2011-03-30T06:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Simple chart from field values, rather than field count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70507#M17639</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;sourcetype=syslog "CPU Temp" | stats avg(CPU_Temp) by host | sort -avg(CPU_temp) | head 100
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or, if you want to have more like a timechart (although by 100 hosts, it might be not that nice)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=syslog "CPU Temp" | timechart span=10m avg(CPU_Temp) by host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Mar 2011 20:16:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70507#M17639</guid>
      <dc:creator>LCM</dc:creator>
      <dc:date>2011-03-30T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple chart from field values, rather than field count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70508#M17640</link>
      <description>&lt;P&gt;Looks like it would work, but I get an empty chart! Also, avg CPU isn't going to be concise enough. Do you know if there's a way to get the LATEST field for each host entry?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 01:38:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70508#M17640</guid>
      <dc:creator>beaunewcomb</dc:creator>
      <dc:date>2011-03-31T01:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Simple chart from field values, rather than field count</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70509#M17641</link>
      <description>&lt;P&gt;To get one entry per host you can do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=syslog "CPU Temp" | dedup host | table host CPU_Temp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The avg command is not doing something special - only math like: 100dg, 100dg, 1deg = avg67deg. It may look no concise enough, but is fully ok!&lt;/P&gt;

&lt;P&gt;You get that empty chart on the first or second command? Have you tried to play around with the time (last 15mins, all time, etc) ?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 02:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Simple-chart-from-field-values-rather-than-field-count/m-p/70509#M17641</guid>
      <dc:creator>LCM</dc:creator>
      <dc:date>2011-03-31T02:14:20Z</dc:date>
    </item>
  </channel>
</rss>

