<?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: Multiple Series Line Chart Dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36319#M8079</link>
    <description>&lt;P&gt;Use max() and set the span to be lower than the time between data points so you only capture one data point in a span.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2014 18:07:53 GMT</pubDate>
    <dc:creator>p1rate5s</dc:creator>
    <dc:date>2014-03-03T18:07:53Z</dc:date>
    <item>
      <title>Multiple Series Line Chart Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36316#M8076</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;

&lt;P&gt;I'm trying to add a new series to my line chart from my dashboard's xml file.
(Which means I want to display 2 lines on my chart).&lt;/P&gt;

&lt;P&gt;So far I have the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;
&amp;lt;dashboard&amp;gt;
  &amp;lt;!--
NOTE: This file was automatically generated by Splunk.  Use caution when editing manually.
--&amp;gt;
  &amp;lt;label&amp;gt;SLU CPU PERFORMANCE&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
      &amp;lt;searchString&amp;gt;source="*slu*" CPU_IDLE_USAGE="*" | timechart max(CPU_IDLE_USAGE)&amp;lt;/searchString&amp;gt;
      &amp;lt;title&amp;gt;CPU PERFORMANCE&amp;lt;/title&amp;gt;
      &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;table&amp;gt;
      &amp;lt;searchString&amp;gt;source="*slu*" CPU_IDLE_USAGE="*"&amp;lt;/searchString&amp;gt;
      &amp;lt;title&amp;gt;Results&amp;lt;/title&amp;gt;
      &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... and I would like to add the CPU_SYS_USAGE="*" field as a series to this chart.&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;

&lt;P&gt;Bye!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2010 03:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36316#M8076</guid>
      <dc:creator>vtrujillo</dc:creator>
      <dc:date>2010-08-25T03:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Series Line Chart Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36317#M8077</link>
      <description>&lt;P&gt;I suppose all you should need to do is use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=*slu* | timechart max(CPU_IDLE_USAGE) max(CPU_SYS_USAGE)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(or &lt;CODE&gt;average(CPU_SYS_USAGE)&lt;/CODE&gt; or some other aggregator function besides &lt;CODE&gt;max()&lt;/CODE&gt; if you prefer).&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2010 03:56:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36317#M8077</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-25T03:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Series Line Chart Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36318#M8078</link>
      <description>&lt;P&gt;Thanks! &lt;/P&gt;

&lt;P&gt;Now, what if I don't want to plot a max() or an avg()? &lt;/P&gt;

&lt;P&gt;I just want to show the numbers that CPU_IDLE_USAGE have. 
For example: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_time              CPU_ID CPU_IDLE_USAGE 
8/23/10 11:25:00.000 PM 0 90 
8/23/10 11:20:00.000 PM 0 83 
8/23/10 11:15:00.000 PM 0 81 
8/23/10 11:10:00.000 PM 0 82 
8/23/10 11:05:00.000 PM 0 88 
8/23/10 11:00:00.000 PM 0 78 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to plot the following values: 90, 83, 81, 82, 88... etc. How can I do that? &lt;/P&gt;

&lt;P&gt;Thank you again&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2010 03:37:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36318#M8078</guid>
      <dc:creator>vtrujillo</dc:creator>
      <dc:date>2010-08-31T03:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Series Line Chart Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36319#M8079</link>
      <description>&lt;P&gt;Use max() and set the span to be lower than the time between data points so you only capture one data point in a span.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 18:07:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-Series-Line-Chart-Dashboard/m-p/36319#M8079</guid>
      <dc:creator>p1rate5s</dc:creator>
      <dc:date>2014-03-03T18:07:53Z</dc:date>
    </item>
  </channel>
</rss>

