<?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 How to display load average values in a chart? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244060#M72630</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
i have written script which extracts the load average values and provides the output.by using below output, how can we create charts to display load average?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 23:05:34 GMT</pubDate>
    <dc:creator>rajgowd1</dc:creator>
    <dc:date>2017-01-19T23:05:34Z</dc:date>
    <item>
      <title>How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244060#M72630</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
i have written script which extracts the load average values and provides the output.by using below output, how can we create charts to display load average?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 23:05:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244060#M72630</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2017-01-19T23:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244061#M72631</link>
      <description>&lt;P&gt;YOu may be missing the output that you wanted to show.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 01:23:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244061#M72631</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-20T01:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244062#M72632</link>
      <description>&lt;P&gt;sorry here is the output&lt;/P&gt;

&lt;P&gt;system time="Thu Jan 19 20:24:50 2017" HostName ="gpd-653-fc88" Days ="76" Users ="2" name="loadaverage|last1min" value="0.00"/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 01:25:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244062#M72632</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2017-01-20T01:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244063#M72633</link>
      <description>&lt;P&gt;somehow i am not able to copy entire output,i copied single line&lt;BR /&gt;
 but here is the last column from the out put&lt;/P&gt;

&lt;P&gt;name="loadaverage|last1min" value="0.00"&lt;BR /&gt;
name="loadaverage|last5min" value="0.34"/&amp;gt;&lt;BR /&gt;
name="loadaverage|last15min" value="5.00"/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 01:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244063#M72633</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2017-01-20T01:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244064#M72634</link>
      <description>&lt;P&gt;Since there is no time given in the sample so I will guess it. Let's say if load averages are being calculated at discrete intervals, i.e. the 15 min average does not have data included from the 5 minute average, and 5 minute average doesn't have 1 minute average in it, then if each "output" line is a single event the intuitive graph that becomes is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=yourIndex sourcetype=yourSourcetype loadaverage
| rex "value=\"(?&amp;lt;loadAvg&amp;gt;[^\"]+)\""
| timechart max(loadAvg) as LoadAvg
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From the visualization options choose &lt;CODE&gt;Format &amp;gt;&amp;gt; General &amp;gt;&amp;gt; Null Values&lt;/CODE&gt; as &lt;CODE&gt;Connect&lt;/CODE&gt; to ensure the average stays continuous in case of missing values . That shall form the basic timechart at least to start off. Alternatively you can use &lt;CODE&gt;min&lt;/CODE&gt; function in timechart.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 02:16:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244064#M72634</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2017-01-20T02:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244065#M72635</link>
      <description>&lt;P&gt;thank you for your response.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 02:51:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244065#M72635</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2017-01-20T02:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244066#M72636</link>
      <description>&lt;P&gt;can we show values in single line like below&lt;/P&gt;

&lt;P&gt;0.00,0.20,10.00&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 03:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244066#M72636</guid>
      <dc:creator>rajgowd1</dc:creator>
      <dc:date>2017-01-20T03:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to display load average values in a chart?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244067#M72637</link>
      <description>&lt;P&gt;you might want to explore the &lt;CODE&gt;transpose&lt;/CODE&gt; option, something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=yourIndex sourcetype=yourSourcetype loadaverage
| rex "value=\"(?&amp;lt;loadAvg&amp;gt;[^\"]+)\""
| table loadAvg
| transpose
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Jan 2017 04:30:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-load-average-values-in-a-chart/m-p/244067#M72637</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2017-01-20T04:30:02Z</dc:date>
    </item>
  </channel>
</rss>

