<?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: Add two lines in a chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566741#M197496</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;index="eniq_voice"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|where localDn="ManagedElement=TO5CSCF01"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|bucket _time span=15m&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|stats max(CPULoad_Total) as CPULoad_Total by localDn _time&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|timechart max(CPULoad_Total) as CPULoad_Total&amp;nbsp;max(CPULoad_Max) as CPULoad_Max&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;This should help . Basically you can add as much as line you want&amp;nbsp; see example below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddharth_0-1631406313369.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15952iDFA5184B2D280101/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Siddharth_0-1631406313369.png" alt="Siddharth_0-1631406313369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Sep 2021 00:25:34 GMT</pubDate>
    <dc:creator>Siddharth</dc:creator>
    <dc:date>2021-09-12T00:25:34Z</dc:date>
    <item>
      <title>Add two lines in a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566694#M197467</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wasifchowdhury_0-1631305861286.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15948iDC600C43A5136E6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wasifchowdhury_0-1631305861286.png" alt="wasifchowdhury_0-1631305861286.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this query and I want to add another data series/line to this chart. How can I do it?&lt;BR /&gt;&lt;BR /&gt;index="eniq_voice"&lt;BR /&gt;|where localDn="ManagedElement=TO5CSCF01"&lt;BR /&gt;|bucket _time span=15m&lt;BR /&gt;|stats max(CPULoad_Total) as CPULoad_Total by localDn _time&lt;BR /&gt;|timechart max(CPULoad_Total) as CPULoad_Total&lt;BR /&gt;&lt;BR /&gt;I want to add this to the query with a linechart:&lt;BR /&gt;|stats max(CPULoad_Max) as CPULoad_Max by localDn _time&lt;BR /&gt;|timechart max(CPULoad_Max) as CPULoad_Max&amp;nbsp;by localDn _time&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 20:33:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566694#M197467</guid>
      <dc:creator>wasifchowdhury</dc:creator>
      <dc:date>2021-09-10T20:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add two lines in a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566698#M197470</link>
      <description>&lt;P&gt;Does this give you what you want?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="eniq_voice"
|where localDn="ManagedElement=TO5CSCF01"
|bucket _time span=15m
|stats max(CPULoad_Total) as CPULoad_Total max(CPULoad_Max) as CPULoad_Max by localDn _time
|timechart max(CPULoad_Total) as CPULoad_Total max(CPULoad_Max) as CPULoad_Max&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Sep 2021 22:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566698#M197470</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-09-10T22:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add two lines in a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566741#M197496</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;index="eniq_voice"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|where localDn="ManagedElement=TO5CSCF01"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|bucket _time span=15m&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|stats max(CPULoad_Total) as CPULoad_Total by localDn _time&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;|timechart max(CPULoad_Total) as CPULoad_Total&amp;nbsp;max(CPULoad_Max) as CPULoad_Max&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;This should help . Basically you can add as much as line you want&amp;nbsp; see example below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddharth_0-1631406313369.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15952iDFA5184B2D280101/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Siddharth_0-1631406313369.png" alt="Siddharth_0-1631406313369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Sep 2021 00:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566741#M197496</guid>
      <dc:creator>Siddharth</dc:creator>
      <dc:date>2021-09-12T00:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add two lines in a chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566891#M197554</link>
      <description>&lt;P&gt;Sorry, it doesnt. I dont get any results.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 16:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-two-lines-in-a-chart/m-p/566891#M197554</guid>
      <dc:creator>wasifchowdhury</dc:creator>
      <dc:date>2021-09-13T16:04:18Z</dc:date>
    </item>
  </channel>
</rss>

