<?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: Plotting  % on yaxis in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Plotting-on-yaxis/m-p/105891#M5972</link>
    <description>&lt;P&gt;One of the tricks to charting is that Splunk requires one of the chart/timechart functions for the y-axis. In the example data above, you could use variety of different functions - I will use &lt;CODE&gt;max&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Second, you need to know the field names for your data. For this example, I will assume that Splunk has correctly identified the date/time of the event, and that you also have fields named &lt;CODE&gt;busy&lt;/CODE&gt; and &lt;CODE&gt;processor&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere
| eval busy = tonumber(replace(busy,"%",""))
| timechart span=1h max(busy) by processor
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 29 Oct 2012 20:32:00 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2012-10-29T20:32:00Z</dc:date>
    <item>
      <title>Plotting  % on yaxis</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Plotting-on-yaxis/m-p/105890#M5971</link>
      <description>&lt;P&gt;Need to plot line chart below table "Max Busy Rate by processor" and want to show % values on yaxis and time on x-axis. &lt;/P&gt;

&lt;P&gt;1 Date/Time Max Busy Rate Processor &lt;BR /&gt;
2 10/29/2012 11:00 12% CHA-1H-3 &lt;BR /&gt;
3 10/29/2012 11:00 1% CHA-1H-2 &lt;BR /&gt;
4 10/29/2012 11:00 17% CHA-1H-1 &lt;BR /&gt;
5 10/29/2012 11:00 9% CHA-1H-0 &lt;BR /&gt;
6 10/29/2012 11:00 27% CHA-1H-3 &lt;BR /&gt;
7 10/29/2012 11:00 3% CHA-1H-2 &lt;BR /&gt;
8 10/29/2012 11:00 15% CHA-1H-1 &lt;BR /&gt;
9 10/29/2012 11:00 14% CHA-1H-0 &lt;BR /&gt;
10 10/29/2012 11:00 15% CHA-1H-3 &lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Plotting-on-yaxis/m-p/105890#M5971</guid>
      <dc:creator>vikramnpanchal</dc:creator>
      <dc:date>2012-10-29T18:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting  % on yaxis</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Plotting-on-yaxis/m-p/105891#M5972</link>
      <description>&lt;P&gt;One of the tricks to charting is that Splunk requires one of the chart/timechart functions for the y-axis. In the example data above, you could use variety of different functions - I will use &lt;CODE&gt;max&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Second, you need to know the field names for your data. For this example, I will assume that Splunk has correctly identified the date/time of the event, and that you also have fields named &lt;CODE&gt;busy&lt;/CODE&gt; and &lt;CODE&gt;processor&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere
| eval busy = tonumber(replace(busy,"%",""))
| timechart span=1h max(busy) by processor
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Oct 2012 20:32:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Plotting-on-yaxis/m-p/105891#M5972</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-10-29T20:32:00Z</dc:date>
    </item>
  </channel>
</rss>

