Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I monitor multiple projects in one place using Google Cloud Platform?

Tags:

I have multiple projects in GCP and I am trying to read all my projects' logs in one place.

Any suggestions?

like image 318
Learnee Avatar asked Jul 16 '18 07:07

Learnee


2 Answers

Unlike monitoring, Stackdriver logging UI does not provide a multi-project view of logs.

It is possible to query the logs from multiple projects using the API. See the resourceNames (or projectIds) field https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/list

It's also possible to export logs from multiple projects to one place: https://cloud.google.com/logging/docs/export/

like image 106
Kirk Kelsey Avatar answered Sep 28 '22 18:09

Kirk Kelsey


You can check our documentation about Monitoring multiple projects using a single Stackdriver account that can contain up to 100 GCP projects for more details.

like image 40
M.E Taame Avatar answered Sep 28 '22 18:09

M.E Taame