Alert Endpoints

Our alert notification methods are versatile. We support several methods for sending notifications:

  1. Email a user on your Loggly account
  2. HTTP/S POST or GET
  3. HipChat
  4. PagerDuty
  5. Slack
  6. VictorOps
  7. GitHub
  8. OpsGenie

If there are other alert integrations you’d like to see, please leave a comment below.

You can establish multiple endpoints in your account and configure alerts in your system to terminate at different endpoints. Alert endpoints are shared across your account so you can also utilize endpoints that other users have set up. This section reviews how to set up your endpoints. If you need more info on the nitty gritty details (alert formatting, etc), check out our Knowledge Base Articles.

Alert endpoints can be configured during the Alert setup or separately from the Alert Endpoint page.

1. Email Notifications

An email will be sent to any users that are configured to receive a notification on a triggered event. If the alert is configured to check for events every minute, an email will be sent every minute while the alert is triggered.

Email recipients must be registered Loggly users.

2. HTTP Endpoints

If you’d like to integrated Loggly alerting with your own notification services, provide a URL and choose whether to send a POST or GET request. It will send an event as a JSON object. Here is an example output with the 10 most recent events turned off.

{
  "alert_name" : "IndexOutOfBounds Exception",
  "edit_alert_link" : "https://sample.loggly.com/alerts/edit/8188",
  "source_group" : "N/A",
  "start_time" : "Mar 17 11:41:40",
  "end_time" : "Mar 17 11:46:40",
  "search_link" : "https://sample.loggly.com/search/?terms=&source_group=&savedsearchid=112323&from=2015-03...",
  "query" : "* ",
  "num_hits" : 225,
  "recent_hits" : [ ],
  "owner_username" : "sample",
  "owner_subdomain" : "sample",
  "owner_email" : "pm@loggly.com"
}

3. Hipchat

Hipchat is a popular third party private chat service. You can send events to a hipchat room using our webhook endpoint. We have instructions and screenshots available on our Hipchat setup page.

4. PagerDuty

PagerDuty is a 3rd party service that provides sanity to your escalation policies (among other features). If you’ve already got a PagerDuty account, this integration will help keep your notifications in one place. Simply provide a PagerDuty generic API key, which can be created on the PagerDuty Services page. Add a new service with a “Generic API System” service Type. Supply the Loggly Alert endpoint setup with that API Key.

pagerduty

5. Slack

Loggly provides Slack integration for sending alerts to a Slack channel. Loggly supports sending static alert messages to Slack and we can also insert data from the alert into the message.

6. VictorOps

This integration utilizes the Generic Email Endpoint to create an Incident in the timeline whenever a Loggly alert is fired. Here are the instructions.

7. Github

You can send alerts to GitHub using the loggly-github library created by Cargo Media.

8. OpsGenie

Loggly can send alerts via email and using webhook. Either method can be used to forward Loggly alerts to OpsGenie. How to create alerts via both method in OpsGenie are described here.

Other

Have more questions or don’t see an endpoint listed that you want? Ask about it in our community forum.

Thanks for the feedback! We'll use it to improve our support documentation.


Top