<?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: Eval for Performance based on Category and if below MaxResponseTime in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557545#M158340</link>
    <description>&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;Tier 1 (MaxResponseTime): 1500&lt;/P&gt;&lt;P&gt;Tier 1 (response_time): 1483, 1682, 1000, 887, 1936&lt;/P&gt;&lt;P&gt;Tier 1 (Count Below): 3&lt;/P&gt;&lt;P&gt;Tier 1 (Count Above): 2&lt;/P&gt;&lt;P&gt;Tier 1 (Performance) 3/5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tier 2 (MaxResponseTime): 3000&lt;/P&gt;&lt;P&gt;Tier 2 (response_time): 3278, 4529, 5763, 2800, 1600&lt;/P&gt;&lt;P&gt;Tier 2 (Count Below): 2&lt;/P&gt;&lt;P&gt;Tier 2 (Count Above): 3&lt;/P&gt;&lt;P&gt;Tier 2 (Performance): 2/5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 07:00:32 GMT</pubDate>
    <dc:creator>ebs</dc:creator>
    <dc:date>2021-06-29T07:00:32Z</dc:date>
    <item>
      <title>Eval for Performance based on Category and if below MaxResponseTime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557492#M158330</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to look at each response_time value for each Tier, and count the amount of response times that are above and below the MaxResponseTime that corresponds to each separate Tier. I have 5 Tiers (categories) with all different MaxResponseTime values.&lt;/P&gt;&lt;P&gt;Here's the search so far:&lt;/P&gt;&lt;P&gt;| datamodel metric summariesonly=true search&lt;BR /&gt;| search "metric.date"=2021-06-28&lt;BR /&gt;| rename "metric.date" as date&lt;BR /&gt;| rename "metric.Tier" as Tier&lt;BR /&gt;| rename "metric.response_time" as response_time&lt;BR /&gt;| stats values(response_time) by Tier | rename values(response_time) as response_time&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 01:12:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557492#M158330</guid>
      <dc:creator>ebs</dc:creator>
      <dc:date>2021-06-29T01:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Eval for Performance based on Category and if below MaxResponseTime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557497#M158332</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228215"&gt;@ebs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you are already doing stats by Tier you will find values something like this single event.&lt;/P&gt;&lt;P&gt;response_time,&amp;nbsp; &amp;nbsp;Tier&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tier1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;Your maxResponseTime = 4, there are no respTimes above max as&amp;nbsp; 4 itself max for that Tier, below maxRespTime are always total count (4) - 1 = 3. Is that what you want to acheive?&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if it helps!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 02:08:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557497#M158332</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-29T02:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Eval for Performance based on Category and if below MaxResponseTime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557507#M158334</link>
      <description>&lt;P&gt;So basically, say I have a MaxResponseTime of 1500 for Tier1. I want to count all the response_time's for Tier1 that are under 1500 and all the ones over Tier1. Tier2's MaxResponseTime is 3000, I would want to count all the ones for this both under and over the MaxResponseTime as well. I also then ant to do a percentage of the amount of response time's that fell under the threshold per tier.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 04:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557507#M158334</guid>
      <dc:creator>ebs</dc:creator>
      <dc:date>2021-06-29T04:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Eval for Performance based on Category and if below MaxResponseTime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557529#M158335</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228215"&gt;@ebs&lt;/a&gt;&amp;nbsp;can you explain with sample events i guess i did not quite get it.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 06:05:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557529#M158335</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-29T06:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Eval for Performance based on Category and if below MaxResponseTime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557545#M158340</link>
      <description>&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;Tier 1 (MaxResponseTime): 1500&lt;/P&gt;&lt;P&gt;Tier 1 (response_time): 1483, 1682, 1000, 887, 1936&lt;/P&gt;&lt;P&gt;Tier 1 (Count Below): 3&lt;/P&gt;&lt;P&gt;Tier 1 (Count Above): 2&lt;/P&gt;&lt;P&gt;Tier 1 (Performance) 3/5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tier 2 (MaxResponseTime): 3000&lt;/P&gt;&lt;P&gt;Tier 2 (response_time): 3278, 4529, 5763, 2800, 1600&lt;/P&gt;&lt;P&gt;Tier 2 (Count Below): 2&lt;/P&gt;&lt;P&gt;Tier 2 (Count Above): 3&lt;/P&gt;&lt;P&gt;Tier 2 (Performance): 2/5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 07:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557545#M158340</guid>
      <dc:creator>ebs</dc:creator>
      <dc:date>2021-06-29T07:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Eval for Performance based on Category and if below MaxResponseTime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557548#M158341</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228215"&gt;@ebs&lt;/a&gt;&amp;nbsp;can you try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| datamodel metric summariesonly=true search
| search "metric.date"=2021-06-28
| rename "metric.date" as date
| rename "metric.Tier" as Tier
| rename "metric.response_time" as response_time
| stats values(response_time) as resp_time, max(maxResponseTime) as max_resp by Tier 
| mvexpand resp_time
| stats count(eval(resp_time &amp;gt; max_resp)) as gt, count(eval(resp_time &amp;lt; max_resp)) as lt, list(resp_time), count(resp_time) as total_resp_count by Tier 
| eval below_perc=(lt/total_resp_count) * 100&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp; ---&lt;/P&gt;&lt;P&gt;An upvote would be appreciated and Accept solution if it helps!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 07:17:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557548#M158341</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-29T07:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Eval for Performance based on Category and if below MaxResponseTime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557709#M158394</link>
      <description>&lt;P&gt;Amazing, thanks so much!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 23:08:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Eval-for-Performance-based-on-Category-and-if-below/m-p/557709#M158394</guid>
      <dc:creator>ebs</dc:creator>
      <dc:date>2021-06-29T23:08:05Z</dc:date>
    </item>
  </channel>
</rss>

