• Get started
  • Documentation

Integrate with Loggly

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.

Loggly Logo

What does the integration offer?

Jira Service Management provides a web API for Loggly to create alerts directly in Jira Service Management servers. Forward Loggly alerts to Jira Service Management to notify users via iPhone and Android push notifications, email, SMS, and phone calls, track the alert lifecycle, escalate alerts, etc.

How does the integration work?

When an alert is created in Loggly, an alert is also created in Jira Service Management automatically through the integration.

Set up the integration

Loggly is an API-based integration. Setting it up involves the following steps:

  • Add a Loggly integration in Jira Service Management

  • Configure the integration in Loggly

Add a Loggly 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 Loggly 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 “Loggly”.

  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 URL.
    You will use this URL while configuring the integration in Loggly 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 Loggly

To configure the integration of Loggly with Jira Service Management, complete the following steps:

  1. In Loggly, go to Alerts > Add New.

  2. Select a "Saved Search" method in Search.

  3. Leave Send to an endpoint selected.

  4. Select Add New.

  5. Select "HTTP Endpoint" for Endpoint.

  6. Select "POST" for Method.

  7. Paste the API URL copied previously into URL.

  8. Leave Enable this alert selected and select Submit Alert.

Sample payload sent from Loggly to Jira Service Management

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 { "owner_email":"ops@jsm.com", "start_time":"Jul 14 17:32:51", "source_group":"N/A", "query":"airplaneQuery ", "owner_username":"opsgenius", "end_time":"Jul 14 17:37:51", "search_link":"https://jsmtest.loggly.com/search/?terms=airplane&source_group=&savedsearchid=38364&from=2014-07-14T17%3A32%3A51Z&until=2014-07-14T17%3A37%3A51Z", "owner_subdomain":"jsmtest", "alert_name":"airplane", "recent_hits":[ " \"airplane\": \"jumbo\",", " \"airplane\": \"tiny\"," ], "edit_alert_link":"https://jsmtest.loggly.com/alerts/edit/3558", "num_hits":2 }

 

Still need help?

The Atlassian Community is here for you.