<?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 two lines in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224932#M44995</link>
    <description>&lt;P&gt;I do not understand (your language is hard to follow).  You should probably create a new question and start over and try to spell out ALL of the details.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2015 12:13:37 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-09-16T12:13:37Z</dc:date>
    <item>
      <title>chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224923#M44986</link>
      <description>&lt;P&gt;Hallo,&lt;BR /&gt;
I will make a chart with two lines. I have a query : select a,b,eventtime from t. Eventtime is the datum and time in a char field :"2015-09-11 03:00", for all 15 Minutes there is one record. I will show the values 'a' and 'b' for the last 7 days (i.ex). How can I make it ?&lt;BR /&gt;
thank you&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 14:05:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224923#M44986</guid>
      <dc:creator>hunyady</dc:creator>
      <dc:date>2015-09-15T14:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224924#M44987</link>
      <description>&lt;P&gt;Maybe like this (set &lt;CODE&gt;timepicker&lt;/CODE&gt; for &lt;CODE&gt;Last 7 days&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | timechart span=15m avg(a) AS a avg(b) AS b
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Sep 2015 15:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224924#M44987</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-15T15:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224925#M44988</link>
      <description>&lt;P&gt;yes, now I have more lines with timestamp of 15 min, but both 'a' and 'b' are empty. Have tried 'avg', 'max'. Result is the same. Empty result by values.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 15:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224925#M44988</guid>
      <dc:creator>hunyady</dc:creator>
      <dc:date>2015-09-15T15:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224926#M44989</link>
      <description>&lt;P&gt;Show us one of your raw events.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 16:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224926#M44989</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-15T16:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224927#M44990</link>
      <description>&lt;P&gt;15.09.15 08:30:00,000&lt;BR /&gt;&lt;BR /&gt;
"2015-09-15 08:30:00" A=3399, B=5025, EVENTTIME="2015-09-15 08:30:00"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;EVENTTIME = 2015-09-15 08:30:00
A = 3399
B = 5025
host = myhost
source = My_Logs
sourcetype = mylogs
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have 940 rows ...&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 06:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224927#M44990</guid>
      <dc:creator>hunyady</dc:creator>
      <dc:date>2015-09-16T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224928#M44991</link>
      <description>&lt;P&gt;Would something like this work for you:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;basesearch|earliest=-7d| timechart values(A) as A, values(B) as B
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The only thing to note is that it will not like it if you have multivalues.&lt;BR /&gt;
If this still does not provide anything, do a quick&lt;/P&gt;

&lt;P&gt;stats values(a) as, values(b) as b by _time&lt;/P&gt;

&lt;P&gt;just to see whats going on which might help you out. Could it be that it does not realize that EVENTTIME is the timestamp?&lt;BR /&gt;
if you do not want to worry about configuring that could you just do something like this as a work around:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;basesearch|| stats values(A) as A, values(B) as B by EVENTTIME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Sep 2015 08:00:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224928#M44991</guid>
      <dc:creator>Amohlmann</dc:creator>
      <dc:date>2015-09-16T08:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224929#M44992</link>
      <description>&lt;P&gt;I see the problem; field names are &lt;EM&gt;case-sensitive&lt;/EM&gt;!  This will work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | timechart span=15m avg(A) AS A avg(B) AS B
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Sep 2015 08:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224929#M44992</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-16T08:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224930#M44993</link>
      <description>&lt;P&gt;Thank you very much !!!&lt;BR /&gt;
It was the problem ...&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 09:34:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224930#M44993</guid>
      <dc:creator>hunyady</dc:creator>
      <dc:date>2015-09-16T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224931#M44994</link>
      <description>&lt;P&gt;Hi, new problem.&lt;BR /&gt;
Have records from 11-Sept until now. In our Oracle-Database I have all records, 4 records pro hour: eventtime for all 15 Min.&lt;BR /&gt;
In Splunk missing for ALL DAY the events between 12:00 - 12:45, We have events until 11:45 and after 13:00.&lt;BR /&gt;
Can you have an idee, why ?&lt;BR /&gt;
Field "Eventtime" is always generated with sql: to_char(eventtime,"yyyy-mm-dd hh24:mi:ss")&lt;BR /&gt;
Have only tried the index new to generate (deleted, new created). All records new loaded. Missing 12:00-12:45.&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 11:36:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224931#M44994</guid>
      <dc:creator>hunyady</dc:creator>
      <dc:date>2015-09-16T11:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: chart with two lines</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224932#M44995</link>
      <description>&lt;P&gt;I do not understand (your language is hard to follow).  You should probably create a new question and start over and try to spell out ALL of the details.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 12:13:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/chart-with-two-lines/m-p/224932#M44995</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-16T12:13:37Z</dc:date>
    </item>
  </channel>
</rss>

