while creating alert iam having trouble to look for specific string in generic Error .
Example: below Log query out puts all types of errors. if i want filter only some specific string like "DEADLINE_EXCEEDED: deadline exceeded" how can i do that, please help me here.
Log Query:resource.type = "cloud_run_revision" resource.labels.service_name = "test-api" resource.labels.location = "us-central1" severity>="ERROR"
Solved! Go to Solution.
Have you checked any specific documentation to achieve it? Take a look at this video [1] about how to avoid common alerting mistakes. Have you also taken a look at this documentation [2] [3]?
[1]:https://youtu.be/QMyS-upk9ZU
[2]:https://cloud.google.com/logging/docs/alerting/monitoring-logs
[3]:https://cloud.google.com/logging/docs/alerting/log-based-alerts
Have you checked any specific documentation to achieve it? Take a look at this video [1] about how to avoid common alerting mistakes. Have you also taken a look at this documentation [2] [3]?
[1]:https://youtu.be/QMyS-upk9ZU
[2]:https://cloud.google.com/logging/docs/alerting/monitoring-logs
[3]:https://cloud.google.com/logging/docs/alerting/log-based-alerts