<?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 get timechart for top responsetime URL in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657962#M111329</link>
    <description>&lt;P&gt;I am able to get the list of URL with top response time using below query.&lt;/P&gt;
&lt;P&gt;index=xyz earliest=-1hr latest=now | rex field=_raw "^(?\d*\.\d*\.\d*\.\d*)\s\[\w.*\]\s(?\d*)\s\"(?\w*)\s(?\S*)\sHTTP\/1.1\"\s(?\d*)\s(?\d*)\"(?\S*)\"\"\w.*\"\s\S*(?web*\d*)\s\S*" | search sourceLBIP="*" responsetime="*" getorpost="*" uri="*" statuscode="*" responsesize="*" refereralURL="*" node="*" | eval responsetime1=responsetime/1000000 | stats count by responsetime1,node, responsesize, uri, _time, statuscode | sort -responsetime1 | head 1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to modify this query for more detailed information. I am able to get the top 1 URL which has highest response time. But I need the timechart partner to understand the responsetime trend for that speicifc URL for last 1 hour. Also, like to modify the script in a such a way where it sould provide me the timechart trend of any URL (top responsetime) for 1 hour. URL may not be same every time since it may change.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 18:40:45 GMT</pubDate>
    <dc:creator>ravir_jbp</dc:creator>
    <dc:date>2023-09-20T18:40:45Z</dc:date>
    <item>
      <title>How to get timechart for top responsetime URL</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657962#M111329</link>
      <description>&lt;P&gt;I am able to get the list of URL with top response time using below query.&lt;/P&gt;
&lt;P&gt;index=xyz earliest=-1hr latest=now | rex field=_raw "^(?\d*\.\d*\.\d*\.\d*)\s\[\w.*\]\s(?\d*)\s\"(?\w*)\s(?\S*)\sHTTP\/1.1\"\s(?\d*)\s(?\d*)\"(?\S*)\"\"\w.*\"\s\S*(?web*\d*)\s\S*" | search sourceLBIP="*" responsetime="*" getorpost="*" uri="*" statuscode="*" responsesize="*" refereralURL="*" node="*" | eval responsetime1=responsetime/1000000 | stats count by responsetime1,node, responsesize, uri, _time, statuscode | sort -responsetime1 | head 1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to modify this query for more detailed information. I am able to get the top 1 URL which has highest response time. But I need the timechart partner to understand the responsetime trend for that speicifc URL for last 1 hour. Also, like to modify the script in a such a way where it sould provide me the timechart trend of any URL (top responsetime) for 1 hour. URL may not be same every time since it may change.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 18:40:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657962#M111329</guid>
      <dc:creator>ravir_jbp</dc:creator>
      <dc:date>2023-09-20T18:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need timechart for top responsetime URL</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657973#M111330</link>
      <description>&lt;P&gt;If I have understood your requirement correctly, you could try something like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=xyz earliest=-1hr latest=now | rex field=_raw "^(?\d*\.\d*\.\d*\.\d*)\s\[\w.*\]\s(?\d*)\s\"(?\w*)\s(?\S*)\sHTTP\/1.1\"\s(?\d*)\s(?\d*)\"(?\S*)\"\"\w.*\"\s\S*(?web*\d*)\s\S*" | search sourceLBIP="*" responsetime="*" getorpost="*" uri="*" statuscode="*" responsesize="*" refereralURL="*" node="*" | eval responsetime1=responsetime/1000000 
| eventstats max(responsetime) as max_responsetime
| eventstats first(eval(if(responsetime == max_responsetime, uri, null()))) as longest_uri
| where uri=longest_uri
| chart values(responsetime) by _time longest_uri&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 11:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657973#M111330</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-19T11:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need timechart for top responsetime URL</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657983#M111331</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;, thank you for sharing the query. Seems "| where url=longest_url" condition is not recognizing. I was looking for timechart which can provide me the response time trend for any top response time consuming.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if &lt;A href="http://xyz.com/report" target="_blank"&gt;http://xyz.com/report&lt;/A&gt;&amp;nbsp;consuming highest response time. I need the trend for last 1 hour trend on the performance on that specific URL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 10:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657983#M111331</guid>
      <dc:creator>ravir_jbp</dc:creator>
      <dc:date>2023-09-19T10:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need timechart for top responsetime URL</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657984#M111332</link>
      <description>&lt;P&gt;Typo on my part (updated my response to use uri instead of url)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 11:25:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/657984#M111332</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-09-19T11:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need timechart for top responsetime URL</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/658001#M111334</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; IT worked !!! thank you so much&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 13:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-timechart-for-top-responsetime-URL/m-p/658001#M111334</guid>
      <dc:creator>ravir_jbp</dc:creator>
      <dc:date>2023-09-19T13:37:02Z</dc:date>
    </item>
  </channel>
</rss>

