21 lines
758 B
JSON
21 lines
758 B
JSON
{
|
|
"title": "Discord - Critical Alerts",
|
|
"description": "Discord webhook via Slack-compatible endpoint",
|
|
"config": {
|
|
"type": "slack-notification-v1",
|
|
"color": "#FF0000",
|
|
"webhook_url": "__DISCORD_WEBHOOK_URL_SLACK__",
|
|
"channel": "#alerts",
|
|
"custom_message": "*${event_definition_title}*\n${event_definition_description}\n${if backlog}${foreach backlog message}• `${message.source}` (IP: ${message.fields.gl2_remote_ip}): ${message.message}\n${end}${end}",
|
|
"user_name": "Graylog",
|
|
"notify_channel": false,
|
|
"notify_here": false,
|
|
"link_names": false,
|
|
"icon_url": "",
|
|
"icon_emoji": "",
|
|
"include_title": true,
|
|
"include_event_procedure": false,
|
|
"time_zone": "Europe/Kyiv",
|
|
"backlog_size": 5
|
|
}
|
|
}
|