Send Loggly Alerts to Slack

Loggly provides Slack integration for sending alerts to a Slack channel. Currently, Loggly only supports sending static alert messages to Slack.

1. Register with Slack

To integrate Loggly with Slack, you first need to obtain a token which allows Loggly to authenticate with Slack’s Web API. Open the Slack Web API page and scroll to the Authentication section. You can quickly generate a usable token by clicking Generate test tokens button. Otherwise, click Register your application to create and register a new application with Slack.

Slack Web API

After clicking Register your application, click Create a New Application. Fill in the details regarding your new application. For the Redirect URI(s) field, enter your Loggly subdomain. When you’re ready, click Create Application to create your new application.


Slack uses OAuth 2.0 to authenticate users and distribute tokens. For more information, please see the Slack documentation on using OAuth 2.0. Alternatively, you can generate a test token to speed up the integration process.

2. Create an Alert Point

Now that you have a Slack token, log into your Loggly account and open the Alerts tab. Click on the Alert Endpoints sub tab, then then click the Create Endpoint button.


In the Endpoint drop-down box, select Slack Endpoint. Provide a name and description for the endpoint. Enter your Slack token in the Slack Auth Token box. In the Slack Channel Name box, enter the name of the channel that Loggly will send your alerts to. Choose the output format, then click Save.

3. Create a Loggly Alert

To create a Loggly Alert, go to the Alert tab and click on Add New. Fill the required information. In the Then section, select the Send to an Endpoint checkbox and select your Slack Endpoint from the drop-down list. Click Save to create the alert.


4. Verify that Your Alerts are Reaching Loggly

To test your newly created alert, generate some logs that will trigger your alert search. Wait a few minutes for the alert to run, then check your Slack chat channel for the messages. Here is an example showing what it will look like:



If your alerts aren’t showing up in your Slack chat, try performing the following actions:

  • Check the spark line graph on the Alerts page to verify that the alert was triggered.
  • Wait for at least the duration you set as how often the alert runs.
  • Search or post questions in the community forum.

Advanced Slack Alert Options

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