• 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

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.

  1. Go to Settings > Integrations. Search for Papertrail and select Add

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

  3. Copy the Webhook URL.

  4. Select Save 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" } }

 

Still need help?

The Atlassian Community is here for you.