Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
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.
When an alert is created in Loggly, an alert is also created in Opsgenie automatically through the integration.
If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.
Go to Teams and select your team.
Select Integrations on the left navigation and then select Add integration.
Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.
Go to Settings > Integrations. Search for Loggly and select Add.
Specify who is notified of Loggly alerts using the Responders field. Auto-complete suggestions are provided as you type.
Select Save integration.
An "API Key" is generated for the integration, copy the integration URL provided on integration page.
From your Loggly account navigate to "Alerts" page and "Add New" alert.
Choose a desired "Saved Search" method defined in the "Search" section.
On the "Add Alert" page, check "Send to an endpoint" box and click Add New.
4. Choose HTTP for "Endpoint" and POST for "Method". Paste the API URL copied previously into the "URL" field.
5. Submit Endpoint.
6. Make sure "Enable this alert" is checked and Submit Alert.
7. Congratulations! Loggly is now integrated with Opsgenie.
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"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
}
Was this helpful?