Skip to main content
Google Cloud Logging empowers customers to manage, analyze, monitor, and gain insights from log data in real time.
env zero has the ability to send all of your deployment logs and audit logs directly to Google Cloud Logging.

Setup

Here are the steps to configure it:
  1. Create a service account with permissions to write logs ‘Logs Writer
  2. There are two ways to configure the integrations:
    1. In the env zero app

      In the organization’s integrations page, click on Google Cloud Logging and fill the form’s fields:
      Log forwarding integration configuration form showing setup fields
    2. Using environment variables

      In the env zero platform you will need to configure the following environment variables in any scope you would like to have them:
      Environment variable nameDescriptionMandatory
      ENV0_GCP_PROJECT_IDGoogle cloud project id. inside this project, the logs will be storedYes
      ENV0_GCP_SERVICE_ACCOUNT_CREDENTIALService account credential file - Copy-Paste of the file payload (JSON format).Yes
      ENV0_GCP_LOG_NAMELogs will be stored under this log nameNo - Default: env0-deployments
      * These environment variables can only override deployment logs forwarding configuration
env zero sets the log name according to the log type:
  1. Audit Logs:

    • logName - env0-audits
  2. Deployment Logs:

    • logName - env0-deployments
I