9,800 Discord Messages in Ten Hours: Silencing Noise Without Silencing Alerts
A two-node workflow forwarded every alert above one threshold to Discord, with no filtering. One routine AppArmor denial, correct behaviour for unprivileged containers, produced roughly 9,800 messages in under ten hours. A narrow suppression rule fixed it without muting real denials.

Key Architectural Takeaways
- Count the messages at the destination, not just the alerts at the source; the workflow's own execution table gave the true number.
- Suppress the specific pattern, not the whole rule, so a real denial of the same kind still gets through.
- A warning about a duplicated rule ID is a real bug waiting to be chased, not noise.
The challenge
Every alert the SIEM scores at level 3 or higher is forwarded to a Discord channel by a small workflow built in n8n. The workflow has exactly two nodes: a webhook trigger and an HTTP POST to Discord. There is no severity filter, no deduplication and no rate limit downstream of the SIEM's own threshold. During a routine health review we asked a simple question: is anything flooding the channel right now?
What we found
The SIEM's hourly counts showed one rule dominating the fleet: the stock "AppArmor DENIED" rule, at about 695 alerts an hour. The log line behind it was the hypervisor's kernel denying a container's systemd-logind the right to remount /proc under a unit-root directory. That is routine confinement for an unprivileged LXC. The control is working as intended and nothing about it is a security event.
To get the real number we went to the workflow's own database. The n8n execution table recorded 12,699 executions over 9.6 hours, and 9,789 of them were successes. Because the workflow has no branching, "success" just means the HTTP POST to Discord completed. Roughly 9,800 messages had been posted to the alerts channel, almost all of them this one pattern.
The fix
We wrote a narrow local rule that matches the specific combination of a mount operation and the unit-root proc path, and drops it to level 0. We deliberately did not suppress the parent rule outright, and did not raise the integration's global threshold, because either would have silenced legitimate AppArmor denials and other level-3 alerts. The suppression was applied live first, as the incident was active, and then written into the Ansible role as a managed block so it is reproducible.
A real bug in the same file
wazuh-logtest had been printing Rule ID '100102' is duplicated for some time. We had seen it earlier and not chased it. This time we did: the local rules file held two byte-for-byte identical copies of one rule. We removed the duplicate.
Verification
The suppression was applied live during the incident and then formalised in the Ansible role. Because the match is scoped to the specific mount pattern, other AppArmor denials still route normally. We did not record a before-and-after hourly count in the build log, so we make no quantitative claim about the drop.
Takeaway
A notification pipeline needs a rate or relevance control at the destination, not only a threshold at the source. And when you tune out noise, make the rule only as wide as the noise.