400400

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