<?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: How to find peak time and the low time of the requests with the span of every hour? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414149#M169295</link>
    <description>&lt;P&gt;@jconger small typo... &lt;CODE&gt;| http_status=200&lt;/CODE&gt; should be without pipe to add filter in the base search.&lt;/P&gt;</description>
    <pubDate>Tue, 22 May 2018 17:11:07 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-05-22T17:11:07Z</dc:date>
    <item>
      <title>How to find peak time and the low time of the requests with the span of every hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414147#M169293</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;
I like to find the peak time of the success requests (http_status=200) and also the least time of the requests (http_status=200) with the span of 1 hr. For example, if i search the web access log query for last 24 hours, it should be display 11 AM (PEAK TIME) and 9 PM (LEAST TIME) of the successful requests and also it should display the number of requests in the 11 AM, 9 PM span. please help&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:39:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414147#M169293</guid>
      <dc:creator>balamv</dc:creator>
      <dc:date>2020-09-29T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find peak time and the low time of the requests with the span of every hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414148#M169294</link>
      <description>&lt;P&gt;Something like this may work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=YOUR_INDEX sourcetype=YOUR_SOURCETYPE earliest=-24h@h latest=now http_status=200 | stats count by date_hour | eventstats max(count) as max min(count) as min | where count=max OR count=min | fields - max min
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is an example using the _internal index:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal earliest=-24h@h latest=now | stats count by date_hour | eventstats max(count) as max min(count) as min | where count=max OR count=min | fields - max min
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Resulting output from the above search:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5015i1DCC4F32CEA51E2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 16:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414148#M169294</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2018-05-22T16:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to find peak time and the low time of the requests with the span of every hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414149#M169295</link>
      <description>&lt;P&gt;@jconger small typo... &lt;CODE&gt;| http_status=200&lt;/CODE&gt; should be without pipe to add filter in the base search.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 17:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414149#M169295</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-22T17:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to find peak time and the low time of the requests with the span of every hour?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414150#M169296</link>
      <description>&lt;P&gt;@niketnilay noted and corrected - thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 18:05:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-peak-time-and-the-low-time-of-the-requests-with-the/m-p/414150#M169296</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2018-05-22T18:05:51Z</dc:date>
    </item>
  </channel>
</rss>

