Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Logz.io observability platform allows customers to configure customizable alerts based on log query criteria.

What does the integration offer?

By integrating with Logz.io, can act as a dispatcher for alerts sent out by Logz.io and determine the right people to notify based on on-call schedules. sends notifications via email, text messages (SMS), phone calls and iPhone & Android push notifications and escalates alerts until the alert is acknowledged or closed.

How does the integration work?

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

Set up the integration

Logz.io is an API integration. Setting it up involves the following steps:

  • Add a Logz.io integration in

  • Configure the integration in Logz.io

Add a Logz.io integration

Info

In this release, only incoming integrations are fully supported in the Standard plan, at a team level. To use outgoing integrations or the outgoing part of bidirectional integrations, upgrade to a higher subscription plan. There may be restrictions on how you can create and apply integration rules as well.

You can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.

To add a Logz.io integration in Compass, complete the following steps:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “Logz.io”.

  4. On the next screen, enter aname for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the API key.
    You will use this key while configuring the integration in Logz.io later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Logz.io

To configure the integration in Logz.io, complete the following steps:

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

  2. Select Opsgenie as "Type".

  3. Paste the API key previously copied from Compass into the relevant field.

  4. (Optional) Select Run the test to confirm that the test message was received by Compass.

  5. Select Save.

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

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

Sample payload sent from Logz.io

Create Alert payload (in JSON format)

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

Compass parses this payload as follows:

JSON

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