Creating custom log based alerts in Google Cloud Stack driver

6/6/2019

I have a running kubernetes cluster and I am using stackdriver alerts to notify me of any failures. Basically I want an alert whenever I see this in the logs humanInterventionNeeded.

So, I have configured the following User defined Metric

enter image description here

When I click on Edit Metric, I can see the logs based on the filter. However, when I click on View in Metrics Explorer, I don't see any data for it

enter image description here

Am I missing anything in the configuration? There is definitely data for that period. Due to this I think I don't receive any alerts?

-- kosta
google-cloud-stackdriver
google-kubernetes-engine

0 Answers