<?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: timechart question in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69056#M17343</link>
    <description>&lt;P&gt;Try this:&lt;BR /&gt;
    &lt;YOURSEARCH&gt; | eval roundtriptime=strptime(RoundTrip,"%S") | chart avg(roundtriptime) over _time&lt;/YOURSEARCH&gt;&lt;/P&gt;

&lt;P&gt;If that doesn't work try strftime instead&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2011 13:23:33 GMT</pubDate>
    <dc:creator>RicoSuave</dc:creator>
    <dc:date>2011-09-02T13:23:33Z</dc:date>
    <item>
      <title>timechart question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69053#M17340</link>
      <description>&lt;P&gt;I'm trying to graph a custom long that gives the round trip time of a web service request.  I've got sourcetype="wsping.log" |stats first(RoundTrip) by _time gives me the table with the correct values, but when I try to chart it doesn't show up.  I think the problem is that my roundtrip value looks like RoundTrip=00:00:00:12 so it's not showing up in the chart? it logs every second so essentially i need every second/log entry on the x axis and the roundtrip value on the y axis in a line graph so we can see spikes.  thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2011 21:12:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69053#M17340</guid>
      <dc:creator>xipander</dc:creator>
      <dc:date>2011-09-01T21:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: timechart question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69054#M17341</link>
      <description>&lt;P&gt;Are you extracting a field for the actual webservice? I would graph the roundtrip time by webservice over time. Try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yoursearch&amp;gt; | timechart avg(RoundTrip) by &amp;lt;yourWebServiceField&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Sep 2011 01:31:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69054#M17341</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-09-02T01:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: timechart question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69055#M17342</link>
      <description>&lt;P&gt;Date 09/02/2011 Begin = 08:55:09:13, End = 08:55:09:26, RoundTrip = 00:00:00:12&lt;BR /&gt;&lt;BR /&gt;
That's all I have in the log entries, the tables and search results show up right, just the line charts don't.  I think it has to do with the way the "times" are formatted it's not graphing them properly?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2011 12:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69055#M17342</guid>
      <dc:creator>xipander</dc:creator>
      <dc:date>2011-09-02T12:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: timechart question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69056#M17343</link>
      <description>&lt;P&gt;Try this:&lt;BR /&gt;
    &lt;YOURSEARCH&gt; | eval roundtriptime=strptime(RoundTrip,"%S") | chart avg(roundtriptime) over _time&lt;/YOURSEARCH&gt;&lt;/P&gt;

&lt;P&gt;If that doesn't work try strftime instead&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2011 13:23:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69056#M17343</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-09-02T13:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: timechart question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69057#M17344</link>
      <description>&lt;P&gt;This got me going in the right direction.  I had to specify the full strptime values.&lt;/P&gt;

&lt;P&gt;RoundTrip | eval roundtriptime=strptime(RoundTrip,"%H:%M:%S:%s") | chart avg(roundtriptime) over _time&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 03:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69057#M17344</guid>
      <dc:creator>xipander</dc:creator>
      <dc:date>2011-09-08T03:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: timechart question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69058#M17345</link>
      <description>&lt;P&gt;Sweet. Glad i could help. Can you accept my answer? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 21:26:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/timechart-question/m-p/69058#M17345</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-09-08T21:26:49Z</dc:date>
    </item>
  </channel>
</rss>

