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 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. 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

ENV0_LOGZIO_HOST

The Listener URL, this includes only the hostname and not a full URL - for example listener.logz.io

Yes

ENV0_LOGZIO_TOKEN

The Logs token - you can read more about that here

Yes

ENV0_LOGZIO_PROTOCOL

The shipment protocol, Logz.io supports HTTP and HTTPS - for more details see this

No - Default: HTTPS

ENV0_LOGZIO_PORT

Destination port. Read more here

No - Default: 8070 (for HTTP) or 8071 (for HTTPS)


Did this page help you?