<?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 to stop a single account email alert to trigger multiple emails? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437833#M7627</link>
    <description>&lt;P&gt;Perhaps scheduling alerts would be the way to go.  We don't have to know the second someone adds an account to domain admins, we just have to know in a reasonable time so we can verify if this action has been approved.  Scheduling an alert once a minute should suffice.  Can you explain to me how to accomplish scheduled alerts for what I am trying to do?&lt;/P&gt;

&lt;P&gt;Thank you so much for your help with this.&lt;/P&gt;

&lt;P&gt;Kenneth&lt;/P&gt;</description>
    <pubDate>Mon, 03 Sep 2018 23:06:55 GMT</pubDate>
    <dc:creator>k45bryant</dc:creator>
    <dc:date>2018-09-03T23:06:55Z</dc:date>
    <item>
      <title>How to stop a single account email alert to trigger multiple emails?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437828#M7622</link>
      <description>&lt;P&gt;I configured an alert to send an email every time a user is added to the Domain Admins group.  I have this alert triggering on eventcode 4728, 4755, etc.  The problem is that adding a single account will trigger multiple emails.  I want the first event to trigger an email, but all subsequent events not to trigger an email.  How do I accomplish this?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2018 01:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437828#M7622</guid>
      <dc:creator>k45bryant</dc:creator>
      <dc:date>2018-09-01T01:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop a single account email alert to trigger multiple emails?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437829#M7623</link>
      <description>&lt;P&gt;What time period are you searching over? You are looking for any events that match those codes in what time period? Do the emails stop?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Sep 2018 01:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437829#M7623</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-09-02T01:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop a single account email alert to trigger multiple emails?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437830#M7624</link>
      <description>&lt;P&gt;Hello Burwell,&lt;/P&gt;

&lt;P&gt;It is a real-time configuration.  As far as I know, the Splunk system monitors the logs and at the very time it receives a log with an EventCode of 4728 or 4755, it triggers an email.  This process is instantaneous and not configured for a time period.  Did I answer your question?&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5692i7B810F5814C901F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Sep 2018 12:33:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437830#M7624</guid>
      <dc:creator>k45bryant</dc:creator>
      <dc:date>2018-09-02T12:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop a single account email alert to trigger multiple emails?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437831#M7625</link>
      <description>&lt;P&gt;Hi. So I have always avoid real-time alerts because I understand scheduled alerts.  It seems the advice is that if you need something to be run frequently, run every minute.&lt;/P&gt;

&lt;P&gt;When I look at real-time alerts (I am on 6.6.8: &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.8/Alert/DefineRealTimeAlerts"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.8/Alert/DefineRealTimeAlerts&lt;/A&gt;) there are two ways to go.&lt;/P&gt;

&lt;P&gt;I created an alert with the per-result triggering and made the action be to add to list of triggered alerts (I didn't want to spam myself with email)&lt;/P&gt;

&lt;P&gt;1) Create a real-time alert with per-result triggering&lt;BR /&gt;
I created one of these and could see, as admin, that the alert had a cron schedule of * * * * * (i.e. every minute) but when I caused the search to match and I looked at the triggered alerts, it immediately fired exactly one&lt;/P&gt;

&lt;P&gt;2) I followed the instructions and removed the per result action. Instead I chose Number of events greater than 0. There was then a window to schedule in. When I went to save I was told "windowed real-time per result alerts require field based alert throttling to be enabled" . I attempted to do that and was told that I had to fill in "supress results containing field value". I was lost.&lt;/P&gt;

&lt;P&gt;In summary, I think it is way more obvious what is happening to not use a real-time alert. Schedule your alert to run perhaps every minute for maybe the last -2m to last -1m (giving yourself plenty of time to index the event.) The expected behavior is far more understandable.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 22:04:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437831#M7625</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-09-03T22:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop a single account email alert to trigger multiple emails?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437832#M7626</link>
      <description>&lt;P&gt;I commented in my answer above. I think real-time alerts are too confusing.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 22:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437832#M7626</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-09-03T22:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop a single account email alert to trigger multiple emails?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437833#M7627</link>
      <description>&lt;P&gt;Perhaps scheduling alerts would be the way to go.  We don't have to know the second someone adds an account to domain admins, we just have to know in a reasonable time so we can verify if this action has been approved.  Scheduling an alert once a minute should suffice.  Can you explain to me how to accomplish scheduled alerts for what I am trying to do?&lt;/P&gt;

&lt;P&gt;Thank you so much for your help with this.&lt;/P&gt;

&lt;P&gt;Kenneth&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 23:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437833#M7627</guid>
      <dc:creator>k45bryant</dc:creator>
      <dc:date>2018-09-03T23:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop a single account email alert to trigger multiple emails?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437834#M7628</link>
      <description>&lt;P&gt;Kenneth, you want to schedule an alert on a cron schedule: &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.8/Alert/AlertSchedulingBestPractices"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.8/Alert/AlertSchedulingBestPractices&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Earliest -2m&lt;BR /&gt;
Latest -1m&lt;BR /&gt;
Cron schedule would be &lt;CODE&gt;* * * * *&lt;/CODE&gt;&lt;BR /&gt;
That's every minute.  You might only want to run the alert every 5 minutes. In which case you would&lt;/P&gt;

&lt;P&gt;Earliest -6m&lt;BR /&gt;
Latest -1m&lt;BR /&gt;
Cron schedule: &lt;CODE&gt;*/5 * * * *&lt;/CODE&gt;    which means run the alert every 5 minutes&lt;/P&gt;

&lt;P&gt;Your search would be something that would include the codes you care about including the index&lt;BR /&gt;
e.g. &lt;CODE&gt;index= sourcetype= 4728 OR 4755&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If this helps be sure to accept my answer. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 06:18:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-stop-a-single-account-email-alert-to-trigger-multiple/m-p/437834#M7628</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-09-04T06:18:36Z</dc:date>
    </item>
  </channel>
</rss>

