<?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 Need help setting a customized alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Need-help-setting-a-customized-alert/m-p/100125#M1431</link>
    <description>&lt;P&gt;I have the following query:&lt;BR /&gt;
.... | eval time_sec = round(time_taken/1000) | chart max(time_sec) as max_response_time by cs_uri_stem&lt;/P&gt;

&lt;P&gt;The aim of the above is to return the maximum response time of the pages mentioned in the ... section. I want this query to be scheduled to run at midnight. Also, if the max_response_time of any page in the result set is higher than a value (say xx), it should alert by sending mails.&lt;/P&gt;

&lt;P&gt;How do I achieve this?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 11:34:21 GMT</pubDate>
    <dc:creator>subhadipc</dc:creator>
    <dc:date>2020-09-28T11:34:21Z</dc:date>
    <item>
      <title>Need help setting a customized alert</title>
      <link>https://community.splunk.com/t5/Alerting/Need-help-setting-a-customized-alert/m-p/100125#M1431</link>
      <description>&lt;P&gt;I have the following query:&lt;BR /&gt;
.... | eval time_sec = round(time_taken/1000) | chart max(time_sec) as max_response_time by cs_uri_stem&lt;/P&gt;

&lt;P&gt;The aim of the above is to return the maximum response time of the pages mentioned in the ... section. I want this query to be scheduled to run at midnight. Also, if the max_response_time of any page in the result set is higher than a value (say xx), it should alert by sending mails.&lt;/P&gt;

&lt;P&gt;How do I achieve this?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:34:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Need-help-setting-a-customized-alert/m-p/100125#M1431</guid>
      <dc:creator>subhadipc</dc:creator>
      <dc:date>2020-09-28T11:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help setting a customized alert</title>
      <link>https://community.splunk.com/t5/Alerting/Need-help-setting-a-customized-alert/m-p/100126#M1432</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| eval time_sec = round(time_taken/1000) 

| chart max(time_sec) as max_response_time by cs_uri_stem 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;| where&lt;/CODE&gt; &lt;CODE&gt;max_response_time&lt;/CODE&gt; &amp;gt; &lt;CODE&gt;xx&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| sendemail to="elvis@server.com,john@server.com" format=html subject=myresults server=mail.server.com`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you saved the search and edit it in Manager &amp;gt;&amp;gt; Searches &amp;amp; Reports, to set the schedule&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2012 21:50:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Need-help-setting-a-customized-alert/m-p/100126#M1432</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-03-23T21:50:31Z</dc:date>
    </item>
  </channel>
</rss>

