Ability to send Error Notifications to Slack or Custom Email Address
Currently, alerts can only be sent to the email of someone's personal account. But we would prefer not to create cloud accounts for all developers and operators. Instead, we'd like to send errors caught by stackdriver to a slack room or to a group email account (just as is done for errors caught by the normal stackdriver utility).
The documents mention setting up a "forward" from your gmail account, but this is hacky and doesnt work for users that don't have access to a gsuite address
Petr Vnen k commented
@Daniel Klien that doesn't really help with Errors though. Alerting is something else.
Actually this is kind of frustrating. Why can we set any channel we want for Alerting policies but simple Errors reporting is only available for Email/SMS?
Eric Destaing commented
The solution here for slack would be to custom ship logs with a forwarder pub-sub to the slack endpoint or a zapier.
Daniel Klein commented
Oh, one more thing: you can send email to _any_ address, not just your personal one.
Daniel Klein commented
The only Notification Channel that you can create directly in an Alerting Policy is email, BUT...
If you create a Notification Channel for Slack in Stackdriver Account Settings > Notifications > Slack (look at the top bar of the right hand panel, the shortcut is https://app.google.stackdriver.com/settings/accounts/notifications/slack)
then you ought to be able to configure any alert notifications to to that Notification Channel.
The same thing is true for Campfire, PagerDuty, SMS, WebHooks, etc. Once you create the channel, you can use it for alerting (and you can send alerts to multiple channels).
My apologies for being so late to comment on this, I just noticed the post... I hope that this helps!
João Antunes commented
And howcome we can't create an alert policy based on the Error Reporting?!?! or can we?! if so - then this is solved - anyone knows anything about this?
Peter Brumblay commented
It is really frustrating that email is the only option here.
Please support a generic webhook notification so we can send to Slack, Teams, etc. As mentioned above the gmail forwarding option is a super-hack and not tenable for all use cases.
Mia Talyor commented
Thank you for posting a helpful solution. If you are facing problem in Toshiba laptop then click https://www.toshibasupport365.com/blog/toshiba-laptop-keyboard-not-working/