Discord
DataLoris posts to Discord through a channel webhook. Mentions such as @everyone in table or rule
names are neutralised, so an alert never pings your whole server.
1. Create a webhook in Discord
Section titled “1. Create a webhook in Discord”- In Discord, open the server, hover the channel that should receive alerts and click Edit Channel (the gear icon). You need the Manage Webhooks permission.
- Open Integrations → Webhooks and click New Webhook. Name it
DataLoris. - Click Copy Webhook URL. It looks like
https://discord.com/api/webhooks/123…/abc….
2. Add the channel in DataLoris
Section titled “2. Add the channel in DataLoris”- Open Alert channels and click New channel.
- Choose Discord, give it a name and paste the URL into Webhook URL. Only
https://discord.com/…andhttps://discordapp.com/…URLs are accepted. - Click Send test and check the message in Discord.
- Attach the channel to a suite: open the suite, Channels tab, Attach channels, pick a minimum severity and save.
Troubleshooting
Section titled “Troubleshooting”| Status / error | Fix |
|---|---|
FAILED with 404 Unknown Webhook |
The webhook was deleted. Create a new one and update the channel. |
RETRYING |
Discord rate-limited the webhook. DataLoris retries for about 30 minutes. |
| No alert at all | Check that the channel is attached to the suite and that its minimum severity allows the alert. |