Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

Loggly Integration

Loggly is a SaaS based log management service, providing you analyzing log data from virtually any application, system or platform to answer your questions based on your search queries. By forwarding Loggly alerts to OpsGenie, you can notify users via iPhone and Android push notifications, email, SMS, and phone calls, track of the alert life cycle, escalate alerts, etc.

​What does OpsGenie offer to Loggly users?

OpsGenie provides a web API for Loggly to create alerts directly in OpsGenie servers. Loggly can be easily integrated to OpsGenie following these simple steps. If you have any question about the integration or request asistance, feel free to contact us at: support@opsgenie.com

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 already
  2. Go to OpsGenie Loggly Integration page,
  3. Specify who should be notified for the Loggly alerts using the "Recipients" field. User(s), group(s), escalations policies and on-call schedules can be specified as the alert recipients. Auto-complete suggestions will be provided as you type.
  4. Click on Save Integration Button
  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 one of your desired "Saved Search" method you defined in "Search" section.
  3. In your "Add Alert" page, check "Send to an endpoint" box and click "Add New"
  1. Choose HTTP "Endpoint" and POST "Method". Paste the API Url you copied above into the "URL" field.
  1. Submit Endpoint!
  2. Make sure "Enable this alert" is checked and Submit Alert!
  3. Congratulations! You have integrated Loggly with OpsGenie.

Sample payload sent from Loggly to OpsGenie

{
  "owner_email":"ops@opsgenie.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://opsgenietest.loggly.com/search/?terms=airplane&source_group=&savedsearchid=38364&from=2014-07-14T17%3A32%3A51Z&until=2014-07-14T17%3A37%3A51Z",
  "owner_subdomain":"opsgenietest",
  "alert_name":"airplane",
  "recent_hits":[
    "        \"airplane\": \"jumbo\",",
    "        \"airplane\": \"tiny\","
  ],
  "edit_alert_link":"https://opsgenietest.loggly.com/alerts/edit/3558",
  "num_hits":2
}

Sample alert

Loggly Integration