<?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: Average response time by URL like in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138306#M37942</link>
    <description>&lt;P&gt;Thank you very much for your kind help !!!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2014 09:16:40 GMT</pubDate>
    <dc:creator>moohkhol</dc:creator>
    <dc:date>2014-04-24T09:16:40Z</dc:date>
    <item>
      <title>Average response time by URL like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138302#M37938</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;

&lt;P&gt;I want to write a query to generate report to know average response time of certain kind of URLs only , e.g. &lt;/P&gt;

&lt;P&gt;sourcetype=access_combined | stats avg(RESP_TIME) by URL where like(URL,"%/suresh%"), avg(RESP_TIME) by URL where like(URL,"%/amaresh%"), avg(RESP_TIME) by URL where like(URL,"%/ramesh%")&lt;/P&gt;

&lt;P&gt;When I am writing a query like above it's not giving any result, kind help me for the same. &lt;BR /&gt;
Please let me know, if need any other details for the same. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138302#M37938</guid>
      <dc:creator>moohkhol</dc:creator>
      <dc:date>2020-09-28T16:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Average response time by URL like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138303#M37939</link>
      <description>&lt;P&gt;There are probably better ways, but I'd do that as three separate searches.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=access_combined where like(URL,"%/suresh%") | stats avg(RESP_TIME) as rt_suresh | append [search sourcetype=access_combined where like(URL,"%/amaresh%") | stats avg(RESP_TIME) as rt_amaresh] | append [search sourcetype=access_combined where like(URL,"%/ramesh%") | stats avg(RESP_TIME) as rt_ramesh] | table rt_suresh, rt_amaresh, rt_ramesh
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Apr 2014 14:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138303#M37939</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-04-22T14:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average response time by URL like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138304#M37940</link>
      <description>&lt;P&gt;How 'bout this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=access_combined (shuresh OR amaresh OR ramesh)
| eval url_category = case(like(URL,"%/suresh%"),"suresh",like(URL,"%/amaresh%"),"amaresh",like(URL,"%/ramesh%"),"ramesh")
| search url_category=* | stats avg(RESP_TIME) by url_category
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note, I've made some assumptions about the URLs in the initial search for performance gains. Make sure those assumptions hold for your environment, if they don't then just drop the parenthesised ORs.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2014 17:30:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138304#M37940</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-22T17:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Average response time by URL like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138305#M37941</link>
      <description>&lt;P&gt;Thanks for help but i find below one was better choice.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 09:16:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138305#M37941</guid>
      <dc:creator>moohkhol</dc:creator>
      <dc:date>2014-04-24T09:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Average response time by URL like</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138306#M37942</link>
      <description>&lt;P&gt;Thank you very much for your kind help !!!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2014 09:16:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Average-response-time-by-URL-like/m-p/138306#M37942</guid>
      <dc:creator>moohkhol</dc:creator>
      <dc:date>2014-04-24T09:16:40Z</dc:date>
    </item>
  </channel>
</rss>

