<?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 Response time or Latency comparison for API's against different time period in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597249#M207925</link>
    <description>&lt;P&gt;Hi - I want to list API's and its latencies / response times and want to compare the latencies in a table like below,&lt;/P&gt;
&lt;P&gt;Explanation : The test is executed for 1 hour and each ramp is 15 min (1X to 4X)&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;API&lt;/TD&gt;
&lt;TD width="20%"&gt;1X Load response time avg or p95&lt;/TD&gt;
&lt;TD width="20%"&gt;2X Load response time avg or p95&lt;/TD&gt;
&lt;TD width="20%"&gt;3X Load response time avg or p95&lt;/TD&gt;
&lt;TD width="20%"&gt;4X Load response time avg or p95&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;API1&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;API2&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current Query :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;host=somehost sourcetype=somesourcetype endpoint=* latency=* received | search *SOMESTRING* |timechart p95(latency) span=15m by endpoint |foreach *[|eval "&amp;lt;&amp;lt;FIELD.."=ROUND('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;',0)]&lt;/LI-CODE&gt;
&lt;P&gt;this query works fine without any issue and its displaying results like this but results are not accurate as the response time of&amp;nbsp;2022-05-09 00:00:00 &amp;amp;&amp;nbsp;2022-05-09 00:15:00 overlap and this becomes 1X data. how can i exactly separate 1X to 4X if i have executed a test from 2022-05-09 13:00:00 - 14:00:00 PM&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;_time&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;API1&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;API2&lt;/TD&gt;
&lt;TD width="25%"&gt;API3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:00:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:15:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:30:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:45:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Wed, 11 May 2022 13:13:49 GMT</pubDate>
    <dc:creator>amarmnrao</dc:creator>
    <dc:date>2022-05-11T13:13:49Z</dc:date>
    <item>
      <title>Response time or Latency comparison for API's against different time period</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597249#M207925</link>
      <description>&lt;P&gt;Hi - I want to list API's and its latencies / response times and want to compare the latencies in a table like below,&lt;/P&gt;
&lt;P&gt;Explanation : The test is executed for 1 hour and each ramp is 15 min (1X to 4X)&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;API&lt;/TD&gt;
&lt;TD width="20%"&gt;1X Load response time avg or p95&lt;/TD&gt;
&lt;TD width="20%"&gt;2X Load response time avg or p95&lt;/TD&gt;
&lt;TD width="20%"&gt;3X Load response time avg or p95&lt;/TD&gt;
&lt;TD width="20%"&gt;4X Load response time avg or p95&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;API1&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%"&gt;API2&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current Query :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;host=somehost sourcetype=somesourcetype endpoint=* latency=* received | search *SOMESTRING* |timechart p95(latency) span=15m by endpoint |foreach *[|eval "&amp;lt;&amp;lt;FIELD.."=ROUND('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;',0)]&lt;/LI-CODE&gt;
&lt;P&gt;this query works fine without any issue and its displaying results like this but results are not accurate as the response time of&amp;nbsp;2022-05-09 00:00:00 &amp;amp;&amp;nbsp;2022-05-09 00:15:00 overlap and this becomes 1X data. how can i exactly separate 1X to 4X if i have executed a test from 2022-05-09 13:00:00 - 14:00:00 PM&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;_time&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;API1&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;API2&lt;/TD&gt;
&lt;TD width="25%"&gt;API3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:00:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:15:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:30:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;2022-05-09 00:45:00&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="25%"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 11 May 2022 13:13:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597249#M207925</guid>
      <dc:creator>amarmnrao</dc:creator>
      <dc:date>2022-05-11T13:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Response time or Latency comparison for API's against different time period</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597288#M207949</link>
      <description>&lt;P&gt;Please explain what you mean by response times overlapping and separating into 1x to 4x&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 04:58:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597288#M207949</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-11T04:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Response time or Latency comparison for API's against different time period</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597480#M208017</link>
      <description>&lt;P&gt;HI Sorry - if am not explaining correctly, Consider I am running a test from 1:12 PM to 2:14 PM. this test will have a data points of 1X load test 2X, 3X ad 4X which is 15 mins duration. so now my requirement is I have to list the API latency for 1X duration and then list the latency of 2X duration and so on until 4X.&lt;/P&gt;&lt;P&gt;But with the current query the issue am facing is that, Splunk will span the time into 15mins so its kind of rounding off the time like if I run the a test from 1:12 to 2:14 and give a span of 15m its will split the 1 hour as like this 1:10 - 1:25 - as 1X load. In this period we can loose 2 minutes data and it will show up in 2X load timespan. but we want to filter from 1:12 - 1:27 - as 1X and 1:28 - 1:43 as 2X and so on in a columnar format&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 21:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597480#M208017</guid>
      <dc:creator>amarmnrao</dc:creator>
      <dc:date>2022-05-11T21:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Response time or Latency comparison for API's against different time period</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597504#M208021</link>
      <description>&lt;P&gt;Have I understood correctly - your tests create events at four points called 1X, 2X, 3X and 4X, they could be called alpha, beta, gamma, and delta, they are just names.&lt;/P&gt;&lt;P&gt;Each event has a duration and the event is produced at the end of each stage of the test.&lt;/P&gt;&lt;P&gt;Please correct me if I am wrong&lt;/P&gt;&lt;P&gt;Perhaps you could provide some sample events (anonymised but representative)?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 04:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Response-time-or-Latency-comparison-for-API-s-against-different/m-p/597504#M208021</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-12T04:17:22Z</dc:date>
    </item>
  </channel>
</rss>

