Google Cloud Logging empowers customers to manage, analyze, monitor, and gain insights from log data in real time.
env0 has the ability to send all of your deployment logs directly to Google Cloud Logging.
Here are the steps to configure it:
- Create a service account with permissions to write logs 'Logs Writer'
- In the env0 platform you will need to configure the following environment variables in any scope you would like to have them:
|Environment variable name||Description||Mandatory|
|Google cloud project id. inside this project, the logs will be stored||Yes|
|Service account credential file - Copy-Paste of the file payload (JSON format).||Yes|
|Logs will be stored under this log name||No - Default: env0-deployments|
Updated 6 months ago