Logentries Integration

Logentries is a software as a service provider for log management and intelligence. Logentries collects and analyzes data found within log files in real-time with a cloud-delivered approach.

216

What does Opsgenie offer for Logentries users?

Use Opsgenie Logentries Integration to forward Logentries alerts to Opsgenie. Opsgenie determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an alert is fired by Logentries, an alert is created in Opsgenie automatically through the integration.

Add Logentries Integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done so already
  2. Go to Opsgenie Logentries 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 Logentries 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 Webhook URL.
  2. Click Save Integration.
722

Configuration in Logentries

  1. In Logentries, click on the Tags & Alerts item from the left menu.
  2. Click Create Tag/Alert on the top right.
  3. Configure the alert and click Other Options in the "Add An Alert" section.
  4. Select Webhook.
  5. Paste the Wehbook URL into the field.
  6. Click Save Changes.
585

Sample Payload

{
    "log": {
        "name": "1474957657996",
        "key": "bace3265-a66b-48a9-9c2a-c08f384c67ea"
    },
    "host": {
        "hostname": "example.com",
        "name": "Inactivity Alerts"
    },
    "event": {
        "s": 3806963027762,
        "m": "No log events coming through to set1/log1 that match \"Log message.\" since 27 Sep 2016 06:28:11.010",
        "t": 1474958111015
    },
    "context": [

    ],
    "alert": {
        "name": "Sample Alert"
    }
}