Graylog Integration

Graylog is a log management and analysis software. Opsgenie is an alert and notification management solution that is highly complementary to Graylog.


What does Opsgenie offer Graylog users?

Opsgenie has a specific alert plugin for Graylog. Use this plugin for Graylog to send stream alerts to Opsgenie with detailed information. Opsgenie acts as a dispatcher for Graylog alerts, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

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

Installing the Plugin

  1. Download the appropriate version of plugin according to your Graylog version.
  2. Copy the .jar file into your plugins folder, as explained here.
  3. Restart graylog-server.

Add Graylog integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to Graylog 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 Graylog 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. Copy the integration API Key. Use this in the Graylog configuration.
  2. Click Save Integration.

Configuration on Graylog

  1. In Graylog, Go to Alerts page and select Manage Notifications.
  1. On Manage Notifications page, select Add new notification.
  2. Under Notification Type, select Opsgenie alarm callback and click Add alert notification.
  3. Click Save.
  1. Paste the API URL copied previously into Opsgenie API Url field, and the API key copied previously into Opsgenie API Key field. Optionally, specify Priority, Teams, and Tags here also.
  2. Click Save.

Sample alert


Did this page help you?