<?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: How can I delete the following duplicate alerts? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447264#M8138</link>
    <description>&lt;P&gt;You're getting duplicate alerts because of the way you setup your cron schedule and the timerange. Your timerange is saying look back the last 60 minutes and run the alert every 30 minutes. Maybe an example will clear this up&lt;/P&gt;

&lt;P&gt;Say its 6pm and your alert fires and checks if the count is greater than 0. The alert will look from 5pm - 6pm.. At 5:59pm you did have a result count greater than 0, so this triggers an alert action. Then your alert fires again at 6:30pm and looks over the timerange 5:30pm - 6:30pm and sees the exact same condition that the first alert fired (i.e. at 5:59pm). You need to either decrease your timerange to have it match the cron expression or increase your cron expression to match the timerange &lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 14:46:39 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2018-12-14T14:46:39Z</dc:date>
    <item>
      <title>How can I delete the following duplicate alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447260#M8134</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=av source=avRawvirusAlertLog
| table CLIENTTIME, CLIENTIPADDR, NAME, PATH, STATUS_msg, SCANTYPE_msg
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;edit alert&lt;BR /&gt;
alert type: reserved&lt;BR /&gt;
time range: Last 60 minutes&lt;BR /&gt;
cron: &lt;EM&gt;/30&lt;/EM&gt;***&lt;BR /&gt;
trigger: result count &amp;gt; 0&lt;BR /&gt;
trigger: once&lt;/P&gt;

&lt;P&gt;when I receive Splunk alert, always duplicate twice..&lt;/P&gt;

&lt;P&gt;How can I solve it?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 08:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447260#M8134</guid>
      <dc:creator>lifekis</dc:creator>
      <dc:date>2018-12-14T08:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the following duplicate alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447261#M8135</link>
      <description>&lt;P&gt;Your cron expression looks weird. If you meant every 30 minutes then type:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;*/30 * * * *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;EDIT: Never mind. I can see this is a formatting issue on splunkanswers when not using code blocks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 12:46:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447261#M8135</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-14T12:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the following duplicate alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447262#M8136</link>
      <description>&lt;P&gt;What are you receiving? An e-mail or other thing?&lt;/P&gt;

&lt;P&gt;Can you add information about time of alerts and logs who trigger the alert?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 13:21:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447262#M8136</guid>
      <dc:creator>osakachan</dc:creator>
      <dc:date>2018-12-14T13:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the following duplicate alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447263#M8137</link>
      <description>&lt;P&gt;First I would ask if you are getting multiple results in your search.  Next I would ask if you are triggering the alert Once, or for each result.  If for each result, are you seeing duplicate values for the results.  For example if you want an alert for each CLIENTIPADDR, and you possible have 2 rows in your table with the same value for CLIENTIPADDR.  If so, you could use dedup in your search or something.  Have you tried throttling in the alert config?  &lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 14:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447263#M8137</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2018-12-14T14:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the following duplicate alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447264#M8138</link>
      <description>&lt;P&gt;You're getting duplicate alerts because of the way you setup your cron schedule and the timerange. Your timerange is saying look back the last 60 minutes and run the alert every 30 minutes. Maybe an example will clear this up&lt;/P&gt;

&lt;P&gt;Say its 6pm and your alert fires and checks if the count is greater than 0. The alert will look from 5pm - 6pm.. At 5:59pm you did have a result count greater than 0, so this triggers an alert action. Then your alert fires again at 6:30pm and looks over the timerange 5:30pm - 6:30pm and sees the exact same condition that the first alert fired (i.e. at 5:59pm). You need to either decrease your timerange to have it match the cron expression or increase your cron expression to match the timerange &lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 14:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447264#M8138</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-12-14T14:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the following duplicate alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447265#M8139</link>
      <description>&lt;P&gt;I got an email.&lt;BR /&gt;
receive the same message 30 minutes after receiving the first warning message.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 07:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447265#M8139</guid>
      <dc:creator>lifekis</dc:creator>
      <dc:date>2018-12-17T07:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete the following duplicate alerts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447266#M8140</link>
      <description>&lt;P&gt;You should read my answer below if you want to fix your issue... &lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 14:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-can-I-delete-the-following-duplicate-alerts/m-p/447266#M8140</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-12-17T14:32:39Z</dc:date>
    </item>
  </channel>
</rss>

