Change your configuration within Opsgenie to receive notifications for resolved Logz.io metrics alerts.
This feature is not available on free Opsgenie accounts.
Define or modify a Logz.io integration in Opsgenie
To define a new integration or modify an existing Logz.io integration in Opsgenie:
-
In Opsgenie, navigate to the Teams tab.
-
Select your Logz.io metrics team.
-
Select Integrations in the left menu.
-
Select the existing Logz.io metrics integration you want to change, or click Add integration, then select and add a Logz.io metrics integration.
-
Click Advanced.
The fields for a metrics resolved alert are filled automatically.
-
Scroll to the bottom of the page and Save Integration.
When updating an existing integration, after clicking Save integration, you may be asked to confirm the switch to advanced mode: Click Proceed.
Logz.io fields shared with Opsgenie
The following fields are sent to Opsgenie when an Opsgenie alert is triggered:
Field | Description |
---|---|
alert_alias | Unique identifier for a Logz.io alert. Used to close resolved alerts |
alert_event_type | Notifies Opsgenie to open or close an alert |
alert_details | Specifies account name and alert samples |
alert_view_link | Specifies the link to the dashboard where the alert was triggered |
alert_title | Alert title |
alert_description | Alert message |
alert_severity | Alert severity |
Field value examples
"alert_title": "httpcode200test alert",
"alert_description": "http code is 200",
"alert_severity": "MEDIUM",
"alert_alias": "12345...",
"alert_event_type": "create",
"alert_details": {
"Account": "Account Name" ,
"alert_event_samples": "Sample 1 event out of 1"
},
"alert_view_link": "https://app.logz.io/#/dashboard/metrics/d/..."