Closed lvicentesanchez closed 7 years ago
From the documentation:
Channel Override
Incoming webhooks have a default channel. You can override it with the channel parameter in your JSON payload.
A public channel can be specified with "channel": "#other-channel", and a Direct Message with "channel": "@username".
{
"channel": "#other-channel", // A public channel override
"channel": "@username", // A Direct Message override
}
Fixed via https://github.com/sowawa/fluent-plugin-slack/pull/35 and #39
An incoming-webhook has to be created for a given channel; forcing users to provide a channel through configuration in that case, makes the plugin unusable if you want to send logs to a private channel.