• Get started
  • Documentation

Integrate with Logz.io

This article highlights a new alerting feature that's natively available in Jira Service Management which is gradually rolling out to some Jira Service Management Cloud customers. It may not yet be visible or available on your site.

Logz.io Logo

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, Jira Service Management can act as a dispatcher for alerts sent out by Logz.io and determine the right people to notify based on on-call schedules. Jira Service Management 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 Jira Service Management 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 Jira Service Management

  • Configure the integration in Logz.io

Add a Logz.io integration

Bidirectional integrations aren’t supported in Free and Standard plans. All the other integrations are supported at a team level in Free and Standard; however, for their outgoing part to work, you need to upgrade to a higher plan. To add any integration at a site level through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be either on Premium or Enterprise.

Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.

To add a Logz.io integration in Jira Service Management, 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 a name 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 Jira Service Management into the relevant field.

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

  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 Jira Service Management endpoint in the field "Who to send it to".

Sample payload sent from Logz.io

Create Alert payload (in JSON format)

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" }

Jira Service Management parses this payload as follows:

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" ]

 

Still need help?

The Atlassian Community is here for you.