Loggly Integration

Loggly is a SaaS-based log management service, analyzing log data from virtually any application, system, or platform to answer questions based on search queries.


​What does Opsgenie offer to Loggly users?

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

Functionality of the integration

When an alert is created in Loggly, an alert is also created in Opsgenie automatically through the integration.

Add Loggly integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie Loggly Integration page.


For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

  1. Specify who is notified of Loggly alerts using the Teams field. Auto-complete suggestions are provided as you type.


An alternative for Step 2) and Step 3) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

  1. Click Save integration.
  1. An "API Key" is generated for the integration, copy the integration URL provided on integration page.

Configuration on Loggly

  1. From your Loggly account navigate to "Alerts" page and "Add New" alert.
  2. Choose a desired "Saved Search" method defined in the "Search" section.
  3. On the "Add Alert" page, check "Send to an endpoint" box and click Add New.
  1. Choose HTTP for "Endpoint" and POST for "Method". Paste the API URL copied previously into the "URL" field.
  1. Submit Endpoint.
  2. Make sure "Enable this alert" is checked and Submit Alert.
  3. Congratulations! Loggly is now integrated with Opsgenie.

Sample payload sent from Loggly to Opsgenie

  "owner_email":"[email protected]",
  "start_time":"Jul 14 17:32:51",
  "query":"airplaneQuery ",
  "end_time":"Jul 14 17:37:51",
    "        \"airplane\": \"jumbo\",",
    "        \"airplane\": \"tiny\","

Sample alert


Did this page help you?