• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Papertrail

Papertrail

What does Opsgenie offer Papertrail users?

Use Opsgenie’s Papertrail Integration to forward Papertrail 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 created on Papertrail, an alert is created in Opsgenie automatically through the integration.

If the data from Papertrail is too big (larger than 200KB), the oldest "events" data is cropped until the size is smaller than or equal to 200KB and use the newest "events".

Add Papertrail Integration in Opsgenie

  1. Go to Opsgenie's Papertrail Integration page.

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of Papertrail alerts using the Teams field. Auto-complete suggestions are provided as you type.

An alternative for Step 1) and Step 2) 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.

3. Copy the Webhook URL.

4. Click Save Integration.

Papertrail integration

Configuration in Papertrail

  1. Go to Papertrail's dashboard.

  2. Click Search.

  3. Click Create Alert or Manage Alerts

  4. Click *Webhook** and paste the Webhook URL into the field.

  5. Select Every minute as Frequency.

  6. Verify that "Activate this alert" is checked and click on Update.

See Papertrail support for more on Papertrail alerts.

Sample Payload

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 { "min_time_at": "2014-01-17T10:10:16Z", "reached_record_limit": true, "min_id": "360778065477173251", "max_id": "360819921921572867", "events": [ { "hostname": "ismet-if", "severity": "Info", "received_at": "2014-01-17T12:10:16+02:00", "message": "Format: 1 Sampling rate: 44100Hz Offloaded: false", "source_name": "ismet-if", "display_received_at": "Jan 17 12:10:16", "facility": "User", "source_id": 19642663, "program": "Microsoft-Windows-Audio", "id": 360778065477173250, "source_ip": "78.187.83.243" }, { "hostname": "ismet-if", "severity": "Info", "received_at": "2014-01-17T12:10:16+02:00", "message": "Format: 1 Sampling rate: 44100Hz Offloaded: false", "source_name": "ismet-if", "display_received_at": "Jan 17 12:10:16", "facility": "User", "source_id": 19642663, "program": "Microsoft-Windows-Audio", "id": 360778065477173250, "source_ip": "78.187.83.243" } ], "saved_search": { "html_edit_url": "https://papertrailapp.com/searches/1382953/edit", "html_search_url": "https://papertrailapp.com/searches/1382953", "name": "sampli", "id": 1382953, "query": "Sampling rate" } }

Sample alert

Papertrail sample alert

 

Last modified on Feb 2, 2021
Cached at 8:53 PM on Apr 10, 2021 |

Additional Help

Ask the Community