I want to be alerted when instances are migrated. I can see the list of operations in Console (http://d.pr/i/16fpz), but how to get it in realtime (via email or in Slack)?
Asked
Active
Viewed 5,100 times
3
-
2Hmm... Why this question is being downvoted? – Art Jan 15 '16 at 16:12
2 Answers
4
You can use Google Cloud Logging to create a log based Metric and set an alert on that metric using Google Cloud Monitoring. You can refer to this link for steps and more details. However, one thing to keep in mind is that Google Cloud Logging is Beta release and is not covered by any SLA.

Faizan
- 1,438
- 10
- 18
-2
When Autohealing is enabled for instance group, the instances are shuts down when health check fails. In that case you can attach a shutdown script with the instances that can be used for any purpose.

rishi
- 101
- 1
-
1I don't see how that would be applicable to a question about migrations. – kasperd Sep 03 '17 at 09:41