<?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: Response Time with hour intervals in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175838#M186676</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myindex host="server" Message_Type="99" OR Message_Type="91" OR Message_Type="92" OR Message_Type="94" source=EasyPayVAGAS* | dedup Message_Type, UUID | eval Time=_time | bucket span=1h _time | stats first(Time) as begin last(Time) as end by UUID,_time| eval responsetime=begin-end | eval Response_Time=if(responsetime&amp;gt;45,"45.000",responsetime) | timechart span=1h avg(Response_Time) as RT_Avg | eval RT_Avg=round(RT_Avg,3) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 22 May 2014 16:36:16 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-05-22T16:36:16Z</dc:date>
    <item>
      <title>Response Time with hour intervals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175837#M186675</link>
      <description>&lt;P&gt;I posted a question earlier this month regarding Response Time with an additional calculation.&lt;/P&gt;

&lt;P&gt;What I need now, is help with doing the same search, but with a timechart, hourly interval.&lt;BR /&gt;
Example&lt;BR /&gt;
Time         Average Response Time&lt;BR /&gt;
date 13:00   0.528&lt;BR /&gt;
date 14:00   0.896&lt;BR /&gt;
etc.&lt;/P&gt;

&lt;P&gt;My current search is&lt;BR /&gt;
index=myindex* host="server"  Message_Type="99*" OR Message_Type="91*"  OR Message_Type="92*" OR Message_Type="94*" source=&lt;EM&gt;EasyPayVAGAS&lt;/EM&gt; |  dedup Message_Type, UUID | stats  first(_time) as begin last(_time) as end by UUID | eval responsetime=begin-end     |  eval  Response_Time=if(responsetime&amp;gt;45,"45.000",responsetime) | stats  avg(Response_Time) as Response_Time  |  eval RT_Avg=round(Response_Time,3)  | table  RT_Avg&lt;/P&gt;

&lt;P&gt;Any assistance will be appreaciated, thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:41:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175837#M186675</guid>
      <dc:creator>denisevw</dc:creator>
      <dc:date>2020-09-28T16:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Response Time with hour intervals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175838#M186676</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myindex host="server" Message_Type="99" OR Message_Type="91" OR Message_Type="92" OR Message_Type="94" source=EasyPayVAGAS* | dedup Message_Type, UUID | eval Time=_time | bucket span=1h _time | stats first(Time) as begin last(Time) as end by UUID,_time| eval responsetime=begin-end | eval Response_Time=if(responsetime&amp;gt;45,"45.000",responsetime) | timechart span=1h avg(Response_Time) as RT_Avg | eval RT_Avg=round(RT_Avg,3) 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 May 2014 16:36:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175838#M186676</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-05-22T16:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Response Time with hour intervals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175839#M186677</link>
      <description>&lt;P&gt;Thanks for the quick response.&lt;BR /&gt;
The search did not return any result.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2014 18:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175839#M186677</guid>
      <dc:creator>denisevw</dc:creator>
      <dc:date>2014-05-22T18:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Response Time with hour intervals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175840#M186678</link>
      <description>&lt;P&gt;Does this returns anything?&lt;/P&gt;

&lt;P&gt;index=myindex host="server" Message_Type="99" OR Message_Type="91" OR Message_Type="92" OR Message_Type="94" source=EasyPayVAGAS* | dedup Message_Type, UUID | eval Time=_time | bucket span=1h _time | stats first(Time) as begin last(Time) as end by UUID,_time&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175840#M186678</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-28T16:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Response Time with hour intervals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175841#M186679</link>
      <description>&lt;P&gt;Yes, it returns UUID, _time, begin, end&lt;BR /&gt;
Now for the calculation&lt;BR /&gt;
Added "| eval responsetime=begin-end | eval Response_Time=if(responsetime&amp;gt;45,"45.000",responsetime)" and it displays the results correct.&lt;BR /&gt;
All I need now is to add each UUID which displays the same hour (13:00 or 17:00) together.&lt;BR /&gt;
Any suggestions on a calculation/search for adding result with the same time?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:42:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175841#M186679</guid>
      <dc:creator>denisevw</dc:creator>
      <dc:date>2020-09-28T16:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Response Time with hour intervals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175842#M186680</link>
      <description>&lt;P&gt;Manage to get the search working with the results I need.&lt;BR /&gt;
..my searches.. | eval Time=_time | bucket span=1h _time | stats first(Time) as begin last(Time) as end by UUID,_time | eval responsetime=begin-end | eval Response_Time=if(responsetime&amp;gt;45,"45.000",responsetime) | timechart span=1h avg(Response_Time) as RT_Avg&lt;/P&gt;

&lt;P&gt;Thanks for your assistance "somesoni2"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-Time-with-hour-intervals/m-p/175842#M186680</guid>
      <dc:creator>denisevw</dc:creator>
      <dc:date>2020-09-28T16:42:23Z</dc:date>
    </item>
  </channel>
</rss>

