<?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 create a line graph where for each day, it displays the latest time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183840#M52928</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I extracted the time with the variable TIME. I am trying to create a line graph where it shows the latest time. My search right now is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=... source=... | timechart max(TIME) by Date
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, my y-axis' values are odd. It goes from 7,000 to 10,000, but the x-axis is correct with the dates. &lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2015 19:28:56 GMT</pubDate>
    <dc:creator>alanxu</dc:creator>
    <dc:date>2015-08-21T19:28:56Z</dc:date>
    <item>
      <title>How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183840#M52928</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I extracted the time with the variable TIME. I am trying to create a line graph where it shows the latest time. My search right now is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=... source=... | timechart max(TIME) by Date
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, my y-axis' values are odd. It goes from 7,000 to 10,000, but the x-axis is correct with the dates. &lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 19:28:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183840#M52928</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T19:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183841#M52929</link>
      <description>&lt;P&gt;I changed it to chart latest(TIME) by Date and that chart that is given is perfect.. However the line graph is still off&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 19:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183841#M52929</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T19:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183842#M52930</link>
      <description>&lt;P&gt;In What format you're extracting the TIME value? Can you run something like this and share result?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; host=... source=... | head 1 | table TIME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Aug 2015 19:39:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183842#M52930</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-21T19:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183843#M52931</link>
      <description>&lt;P&gt;Even though it was for 7 days I only got one value... 02:40:59 which is probably the largest value of time in the 7 days&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 19:44:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183843#M52931</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T19:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183844#M52932</link>
      <description>&lt;P&gt;Its really odd that the table is perfect, but the line graph is always wrong&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 19:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183844#M52932</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T19:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183845#M52933</link>
      <description>&lt;P&gt;It could be because you're plotting string values in Y-axis. You want to plot the max time of the day in HH:MM:SS format for each day (last 7 day)?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:04:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183845#M52933</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-21T20:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183846#M52934</link>
      <description>&lt;P&gt;yes for each day! Exactly&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:07:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183846#M52934</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183847#M52935</link>
      <description>&lt;P&gt;Oh they are string values? &lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:08:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183847#M52935</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183848#M52936</link>
      <description>&lt;P&gt;I would need your full current query to confirm the same..&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:09:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183848#M52936</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-21T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183849#M52937</link>
      <description>&lt;P&gt;I can send you a picture of the table that comes up&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183849#M52937</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183850#M52938</link>
      <description>&lt;P&gt;That will work too. &lt;A href="mailto:somesh.soni@gmail.com"&gt;somesh.soni@gmail.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183850#M52938</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-21T20:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183851#M52939</link>
      <description>&lt;P&gt;sent the picture!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183851#M52939</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183852#M52940</link>
      <description>&lt;P&gt;Look at the second email instead&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:17:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183852#M52940</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183853#M52941</link>
      <description>&lt;P&gt;As suspected, there are string values (propably output of command like  &lt;CODE&gt;| eval TIME=strftime(_time ,"%H:%M:%S")&lt;/CODE&gt; . The workaround that you can try would be like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | eval TIME=tonumber(strftime(_time ,"%H.%M")) | timechart max(TIME) as TIME by Date 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:21:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183853#M52941</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-21T20:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183854#M52942</link>
      <description>&lt;P&gt;Sent you screenshot of result with same query I used.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:21:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183854#M52942</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-21T20:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183855#M52943</link>
      <description>&lt;P&gt;For some reason I get numbers like 9.3, 8.6, 9.05&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183855#M52943</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183856#M52944</link>
      <description>&lt;P&gt;I want the time like 1:50:SS to be on the y axis &lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183856#M52944</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183857#M52945</link>
      <description>&lt;P&gt;And TIME is already the field I extracted.. In the log it contains the HH:MM&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:29:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183857#M52945</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183858#M52946</link>
      <description>&lt;P&gt;I am trying to have..&lt;BR /&gt;
y-axis have a range of times&lt;BR /&gt;
x-axis have dates&lt;/P&gt;

&lt;P&gt;then it will be plotting the latest time for each date.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:31:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183858#M52946</guid>
      <dc:creator>alanxu</dc:creator>
      <dc:date>2015-08-21T20:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a line graph where for each day, it displays the latest time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183859#M52947</link>
      <description>&lt;P&gt;Yes, that's the work around, instead of HH:MM:SS in string format, we can convert it to HH.MM (HH dot MM) i.e. decimal value which can be plotted . I know it would not look good for Tables but decent work around for graphs. Do you intent to put this in dashboard??&lt;/P&gt;

&lt;P&gt;If this workaround is acceptable to you, I can tell the option to convert  your already existing TIME field to decimal value.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:33:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-line-graph-where-for-each-day-it-displays-the/m-p/183859#M52947</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-21T20:33:41Z</dc:date>
    </item>
  </channel>
</rss>

