<?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 Custom request on Splunk alerting in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Custom-request-on-Splunk-alerting/m-p/172909#M12376</link>
    <description>&lt;P&gt;What am i looking for: My search results contains Count field.&lt;/P&gt;

&lt;P&gt;1) if Count greater than Zero should alert once and after alerting once it shouldn't alert till 00:00 AM. (I am writing results from 1st alert in a csv file)&lt;/P&gt;

&lt;P&gt;2) if number increases by 5 from that of no. in CSV (csv+5), i should trigger an alert once and after alerting once it shouldn't alert till 00:00 AM&lt;/P&gt;

&lt;P&gt;3) if number increases by 10 from that of no. in CSV (Csv+10), i should trigger an alert once and after alerting once it shouldnot alert till 00:00AM&lt;/P&gt;

&lt;P&gt;I have to run the query for every 15 min.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2015 10:25:10 GMT</pubDate>
    <dc:creator>manja054</dc:creator>
    <dc:date>2015-08-13T10:25:10Z</dc:date>
    <item>
      <title>Custom request on Splunk alerting</title>
      <link>https://community.splunk.com/t5/Alerting/Custom-request-on-Splunk-alerting/m-p/172909#M12376</link>
      <description>&lt;P&gt;What am i looking for: My search results contains Count field.&lt;/P&gt;

&lt;P&gt;1) if Count greater than Zero should alert once and after alerting once it shouldn't alert till 00:00 AM. (I am writing results from 1st alert in a csv file)&lt;/P&gt;

&lt;P&gt;2) if number increases by 5 from that of no. in CSV (csv+5), i should trigger an alert once and after alerting once it shouldn't alert till 00:00 AM&lt;/P&gt;

&lt;P&gt;3) if number increases by 10 from that of no. in CSV (Csv+10), i should trigger an alert once and after alerting once it shouldnot alert till 00:00AM&lt;/P&gt;

&lt;P&gt;I have to run the query for every 15 min.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:25:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Custom-request-on-Splunk-alerting/m-p/172909#M12376</guid>
      <dc:creator>manja054</dc:creator>
      <dc:date>2015-08-13T10:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom request on Splunk alerting</title>
      <link>https://community.splunk.com/t5/Alerting/Custom-request-on-Splunk-alerting/m-p/172910#M12377</link>
      <description>&lt;P&gt;I would try&lt;/P&gt;

&lt;P&gt;...your search...  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval ts=strftime(_time, "%x") | fields ts
| lookup your_search_key ts OUTPUTNEW count_from_ts
| eval count_from_csv=if(isnull(count_from_csv),-4.count_from_csv)
| eval new=if(count&amp;gt;=count_from_csv+5,1,0)
| search new=1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Aug 2015 13:43:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Custom-request-on-Splunk-alerting/m-p/172910#M12377</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2015-08-13T13:43:08Z</dc:date>
    </item>
  </channel>
</rss>

