Logz.io Integration

Logz.io Integration

Logz.io provides real-time, actionable insights with ELK as a service. OpsGenie is an alert and notification management solution that is highly complementary to Logz.io.

What does OpsGenie offers to Logz.io users?

The Logz.io platform allows customers to configure customizable alerts and take actions based on the chosen criteria in order to highlight or be notified of events of interest. With Logz.io Integration, OpsGenie acts as a dispatcher for these alerts, determining the right people to notify based on on-call schedules, notifying them using email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalating alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an alert is created in Logz.io, an alert is also created in OpsGenie automatically through the integration.

Add Logz.io Integration in OpsGenie

  1. Please create an OpsGenie account if you haven't done already
  2. Go to OpsGenie Logz.io Integration page,
  3. Specify who should be notified for Logz.io alerts using the "Teams" and "Recipients" fields. Auto-complete suggestions will be provided as you type. 
  4. Copy the Api URL by clicking on the copy button or selecting.
  5. Click on "Save Integration".

Configuration in Logz.io

  1. In Logz.io, open Alerts Screen from the upper menu
  2. Select "Alert Endpoints" from the side menu
  3. Select "Custom" as Type
  4. Paste API URL into Webhook URL field
  5. Select "Post" as Method
  6. Click Save
  7. To create alert, click "Create Alert" button in the main screen
  8. Select "OpsGenie" endpoint as Notification Endpoint

Sample payload sent from Logz.io

Create Alert payload:

          "alert_title": "httpcode200test alert",
          "alert_description": "http code is 200",
          "alert_severity": "MEDIUM",
          "alert_event_samples": "Sample 1 event out of 1"

This payload is parsed by OpsGenie as:

          "title": "httpcode200test alert",
          "description": "http code is 200",
          "severity": "MEDIUM",
          "event_samples": "Sample 1 event out of 1"

Sample alert