• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Logz.io

Logz.ico logo

What does Opsgenie offer Logz.io users?

The Logz.io observability platform allows customers to configure customizable alerts based on log query criteria. By integrating with Logz.io, Opsgenie can act as a dispatcher for alerts sent out by Logz.io and determine the right people to notify based on on-call schedules. Opsgenie sends notifications via email, text messages (SMS), phone calls and iPhone & Android push notifications and escalates 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. Go to Settings → Integrations. Search for Logz.io and select Add

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of Logz.io alerts using the Responders field. Auto-complete suggestions are provided as you type.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that;

  1. Go to Teams,

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

3. Copy the API Key.

4. Click Save Integration.

Logz.io integration

Configuration in Logz.io

  1. In the Logz.io app, go to Alerts & Events > Alert endpoints from the upper menu.

  2. Select Opsgenie as "Type".

  3. Paste the Opsgenie API Key into the relevant field.

  4. (Optional) Click Run the test to confirm that the test message was received by Opsgenie.

  5. Click Save.

Logz.io endpoint

6. To create an alert, go to Alerts & Events > New alert from the upper menu ( Direct link).

7. Fill in the form and select the Opsgenie endpoint in the field "Who to send it to".

Sample payload sent from Logz.io

Create Alert payload:

JSON

1 2 3 4 5 6 { "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:

JSON

1 2 3 4 5 6 [ "title": "httpcode200test alert", "description": "http code is 200", "severity": "MEDIUM", "event_samples": "Sample 1 event out of 1" ]

Last modified on Aug 3, 2021
Cached at 9:06 PM on Oct 23, 2021 |

Additional Help