<?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: alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/alert/m-p/576606#M13283</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks and it worked.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 11:27:03 GMT</pubDate>
    <dc:creator>vinod_52791</dc:creator>
    <dc:date>2021-11-29T11:27:03Z</dc:date>
    <item>
      <title>alert</title>
      <link>https://community.splunk.com/t5/Alerting/alert/m-p/576581#M13277</link>
      <description>&lt;P&gt;HI&lt;BR /&gt;from the below query i will get calls count whose responseTime is morethan 10000 milliseconds&lt;BR /&gt;&lt;BR /&gt;index="ab_cs" host="aw-lx0456.vint.ent" source="cb-ss-service"AND((RequestedURL ="/man/*/details" OR REQUESTED_URL="/man/*/contacts") OR (RequestedURL ="/contacts /*/details" OR REQUESTED_URL="/contacts/*/members"))AND (ResponseStatus OR HttpStatusCode)|sort -1 Timetaken | eval TimeTaken3=trim(replace(Timetaken, ",",""))| where TimeTaken3 &amp;gt;=10000 |stats count as ResponseOver10Sec&lt;BR /&gt;&lt;BR /&gt;But here I want to send an alert when count of&amp;nbsp;ResponseOver10Sec is more than 2% of total transaction&lt;BR /&gt;&lt;BR /&gt;could you please suggest appropriate query??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 10:20:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert/m-p/576581#M13277</guid>
      <dc:creator>vinod_52791</dc:creator>
      <dc:date>2021-11-29T10:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: alert</title>
      <link>https://community.splunk.com/t5/Alerting/alert/m-p/576586#M13278</link>
      <description>&lt;P&gt;Something like this should work&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="ab_cs" host="aw-lx0456.vint.ent" source="cb-ss-service"AND((RequestedURL ="/man/*/details" OR REQUESTED_URL="/man/*/contacts") OR (RequestedURL ="/contacts /*/details" OR REQUESTED_URL="/contacts/*/members"))AND (ResponseStatus OR HttpStatusCode) 
| eval TimeTaken3=trim(replace(Timetaken, ",","")) 
| stats count as Total sum(eval(if(TimeTaken3&amp;gt;=10000,1,0))) as ResponseOver10Sec
| where (ResponseOver10Sec/Total)&amp;gt;.02&lt;/LI-CODE&gt;&lt;P&gt;you don't need to use sort - that's just making your search slower.&lt;/P&gt;&lt;P&gt;If the responses over 10 seconds is &amp;gt; than 2% of the total of your urls searched for, then you will get a single result, otherwise you will get no results, so you can set up your alert accordingly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 10:32:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert/m-p/576586#M13278</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-11-29T10:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: alert</title>
      <link>https://community.splunk.com/t5/Alerting/alert/m-p/576594#M13280</link>
      <description>&lt;P&gt;&lt;U&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/U&gt;I am getting response below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinod_52791_0-1638182493364.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17035iDEF440DE3B0B30EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinod_52791_0-1638182493364.png" alt="vinod_52791_0-1638182493364.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But i want to send an alert when this condition satisfies that means i need that count morethan 1&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 10:42:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert/m-p/576594#M13280</guid>
      <dc:creator>vinod_52791</dc:creator>
      <dc:date>2021-11-29T10:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: alert</title>
      <link>https://community.splunk.com/t5/Alerting/alert/m-p/576606#M13283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks and it worked.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 11:27:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/alert/m-p/576606#M13283</guid>
      <dc:creator>vinod_52791</dc:creator>
      <dc:date>2021-11-29T11:27:03Z</dc:date>
    </item>
  </channel>
</rss>

