Reputation: 460
I am using google cloud alerts to send emails in the event that a particular log is generated in google cloud logging. Now, the emails do arrive properly. But, every-time the cloud alert triggers, we receive two emails 1) alert firing 2) alert recovery. Can I somehow customize this behavior to get only one email? Any leads will be helpful. If needed, I can describe the above situation in more detail.
Upvotes: 1
Views: 562
Reputation: 2217
You can deactivate notification (email in your case) on incident closure. You can do this using the Cloud Console.
Alerting
under Monitoring
serviceEDIT
button on top of the pageNEXT
to land on Who should be notified? (optional)
Notify on incident closure
check box (as shown in green in
the capture)SAVE
Upvotes: 2