Search code examples
google-cloud-platformstackdrivergoogle-cloud-stackdrivergoogle-cloud-monitoring

Can I export "incidents" from StackdriverMonitoring?


I want to export the results of alerts detected by StackDriverMonitoring. Currently we are aggregating the alerted emails but it is inefficient. Is there any way to export to csv file or Bigquery?

I tried the following URL, but it seems this only exports the metrix and not the incident exports. https://github.com/GoogleCloudPlatform/stackdriver-metrics-export


Solution

  • I couldn't figure out how to export the incident. But we'll store the incidents in the Bigquery by adding a pubsub to the alert destination instead.

    See Kolban's article. https://medium.com/google-cloud/warehousing-cloud-monitoring-alerts-b648e3746d9