# Slack

The Slack output plugin delivers records or messages to your preferred Slack channel. It formats the outgoing content in JSON format for readability.

This connector uses the Slack *Incoming Webhooks* feature to post messages to Slack channels. Using this plugin in conjunction with the Stream Processor is a good combination for alerting.

## Slack Webhook

Before to configure this plugin, make sure to setup your Incoming Webhook, for a detailed step-by-step instruction review the following official document:

* <https://api.slack.com/messaging/webhooks#getting_started>

Once you have obtained the Webhook address you can place it in the configuration below.

## Configuration Parameters

| Key     | Description                                       | Default |
| ------- | ------------------------------------------------- | ------- |
| webhook | Absolute address of the Webhook provided by Slack |         |

### Configuration File

Get started quickly with this configuration file:

```
[OUTPUT]
    name                 slack
    match                *
    webhook              https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
```
