• 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 Settings → Integrations. Search for Papertrail and select Add

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 Responders field. Auto-complete suggestions are provided as you type.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that;

  1. Go to Teams,

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

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" } }

 

Last modified on Aug 3, 2021
Cached at 9:04 PM on Oct 23, 2021 |

Additional Help