• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Graylog v3 and above

Overview

What does the integration offer?

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 they’re acknowledged or closed.

How does the integration work?

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

Set up the integration

Graylog is an API-based integration. Setting it up involves the following steps:

  • Add a Graylog integration in Opsgenie

  • Configure the integration in Graylog

Add a Graylog 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.

  1. Go to Teams and select your team.

  2. 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.

To add a Graylog integration in Opsgenie:

  1. Go to Settings > Integrations.

  2. Select Add integration.

  3. Run a search and select “Graylog”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the Webhook URL generated for your account.
    You will use this URL while configuring the integration in Graylog later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Graylog

  1. In your Graylog account, go to Alerts from the main menu.

  2. On the New Notifications page, select Notifications.

  3. Enter a Title and a Description for the channels you want to set notifications for.

  4. Select HTTP notification for the type.

  5. Paste your integration URL (copied while adding the integration in Opsgenie) into the URL field.

  6. Select Create and save the changes.

  7. Select Event Definition.

  8. Enter values for Event Details, Condition, and Fields to create the notification rules.

  9. In Notifications, select the notification you created earlier.

From this point on, incoming Graylog notifications matching the rules of that notification will be redirected to Opsgenieas alerts. You can customize this integration and define how Opsgenie should manage the alert flow by adding more rules.

Still need help?

The Atlassian Community is here for you.