<?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 I need to group results based on a threshold in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-group-results-based-on-a-threshold/m-p/49670#M11926</link>
    <description>&lt;P&gt;I am running a query against a webserver access log.  I need to group all responses greater than 5 seconds, and determine what percentage of all responses are in the above 5 second group.  Any thoughts?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2013 15:45:56 GMT</pubDate>
    <dc:creator>mkwan0</dc:creator>
    <dc:date>2013-08-28T15:45:56Z</dc:date>
    <item>
      <title>I need to group results based on a threshold</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-group-results-based-on-a-threshold/m-p/49670#M11926</link>
      <description>&lt;P&gt;I am running a query against a webserver access log.  I need to group all responses greater than 5 seconds, and determine what percentage of all responses are in the above 5 second group.  Any thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:45:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-group-results-based-on-a-threshold/m-p/49670#M11926</guid>
      <dc:creator>mkwan0</dc:creator>
      <dc:date>2013-08-28T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: I need to group results based on a threshold</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-group-results-based-on-a-threshold/m-p/49671#M11927</link>
      <description>&lt;P&gt;You could use &lt;CODE&gt;stats&lt;/CODE&gt; with &lt;CODE&gt;eval&lt;/CODE&gt; for this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats count(eval(response_time&amp;gt;=5)) as slow_response_count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Aug 2013 17:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-group-results-based-on-a-threshold/m-p/49671#M11927</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-08-28T17:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: I need to group results based on a threshold</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-group-results-based-on-a-threshold/m-p/49672#M11928</link>
      <description>&lt;P&gt;Ayn, thanks&lt;/P&gt;

&lt;P&gt;I had come up with this&lt;BR /&gt;
earliest=-y latest=now | timechart count(eval(serve_request_time_sec&amp;lt;5)) As WithinSLA, count(eval(serve_request_time_sec&amp;gt;5)) As OverSLA&lt;/P&gt;

&lt;P&gt;Now I just need to divide the OverSLA group by OverSLA+WithinSLA.  Is there a way to do that within Stats or Timechart &lt;/P&gt;

&lt;P&gt;As you probably guessed, I am fairly new to Splunk, and reading documentation as I go.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:40:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-group-results-based-on-a-threshold/m-p/49672#M11928</guid>
      <dc:creator>mkwan0</dc:creator>
      <dc:date>2020-09-28T14:40:30Z</dc:date>
    </item>
  </channel>
</rss>

