Logz.io is an end to end cloud monitoring tool for unified log, metric, and trace analytics for any stack.
env0 has the ability to send all of your deployment logs and audit logs directly to your Logz.io account.

Setup

Here are the steps to configure it:

  1. In your Logz.io account, navigate to Settings > Manage Tokens > Data shipping tokens and click on the Logs tab.

  2. Copy the Listener URL (You can also verify your Logz.io account region and get the listener hostname using this guide).

  3. Copy the Logs token.

  4. There are two ways to configure the integrations:

    1. In the env0 app

      In the organization's integrations page, click on Logz.io and fill the form's fields:


    2. Using environment variables

      In the env0 platform you will need to configure the following environment variables in any scope you would like to have them:


      Environment variable nameDescriptionMandatory
      ENV0_LOGZIO_HOSTThe Listener URL, this includes only the hostname and not a full URL - for example listener.logz.ioYes
      ENV0_LOGZIO_TOKENThe Logs token - you can read more about that hereYes
      ENV0_LOGZIO_PROTOCOLThe shipment protocol, Logz.io supports HTTP and HTTPS - for more details see thisNo - Default: HTTPS
      ENV0_LOGZIO_PORTDestination port. Read more hereNo - Default: 8070 (for HTTP) or 8071 (for HTTPS)

env0 sets the log name according to the log type:

  1. Audit Logs:

    • name - env0-audit-logs
  2. Deployment Logs:

    • name - env0-deployment-logs