<?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: Chart with multiple lines based on field values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458677#M129523</link>
    <description>&lt;P&gt;Thanks! That indeed gives me the max fuellevel per day! What is the option if I want to see it per event? Because some serials will have like 10 events per day and others will just have a few or even none on a day.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 05:53:19 GMT</pubDate>
    <dc:creator>fhobelman</dc:creator>
    <dc:date>2018-07-30T05:53:19Z</dc:date>
    <item>
      <title>Chart with multiple lines based on field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458674#M129520</link>
      <description>&lt;P&gt;case:&lt;/P&gt;

&lt;P&gt;Logged events with differentiating &lt;EM&gt;fuellevel&lt;/EM&gt; and the corresponding &lt;EM&gt;serial&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Desired outcome:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5434iAA049A2EEB62E215/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So a graph with multiple lines, a line is based on a serialnumbers from the events, with vertically the value of a field within that same event.&lt;/P&gt;

&lt;P&gt;Please help!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 05:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458674#M129520</guid>
      <dc:creator>fhobelman</dc:creator>
      <dc:date>2018-07-27T05:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with multiple lines based on field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458675#M129521</link>
      <description>&lt;P&gt;please send a sample of your data for better answer, however, I believe you are looking something similar to below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=x sourcetype=y | eval number = fuellevel - correspondingserial | timechart values(number) values(serial1) values(serial2) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jul 2018 13:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458675#M129521</guid>
      <dc:creator>akocak</dc:creator>
      <dc:date>2018-07-27T13:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with multiple lines based on field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458676#M129522</link>
      <description>&lt;P&gt;That's just a basic &lt;CODE&gt;timechart&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search that gets the events with _time serial and fuellevel
 | timechart max(fuellevel) as fuellevel by serial
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also try &lt;CODE&gt;max()&lt;/CODE&gt;, &lt;CODE&gt;min()&lt;/CODE&gt;, &lt;CODE&gt;avg()&lt;/CODE&gt; &lt;CODE&gt;first()&lt;/CODE&gt; &lt;CODE&gt;last()&lt;/CODE&gt;, or any other aggregate command that seems relevant.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 06:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458676#M129522</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-07-29T06:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with multiple lines based on field values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458677#M129523</link>
      <description>&lt;P&gt;Thanks! That indeed gives me the max fuellevel per day! What is the option if I want to see it per event? Because some serials will have like 10 events per day and others will just have a few or even none on a day.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 05:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-multiple-lines-based-on-field-values/m-p/458677#M129523</guid>
      <dc:creator>fhobelman</dc:creator>
      <dc:date>2018-07-30T05:53:19Z</dc:date>
    </item>
  </channel>
</rss>

