Hi,
I went through your screenshot and the details you shared. Let’s start from the agent side. You mentioned that the event queue is increasing on the manager. Did this start happening after you enabled the audit logs?
Sometimes, improper configuration of Windows Event Channel logs can cause the Wazuh agent to flood with events, which can lead to dropped logs due to the high volume. On the agent, please check the ossec.log file for any warnings or errors. You can find it at: C:\Program Files (x86)\ossec-agent\ossec.log
If you notice signs of flooding, try to fine-tune the event channel configuration so that only specific logs are collected, for example Event ID 33205, instead of collecting everything. This helps reduce unnecessary load.
After that, check the archives.log or archives.json file again and see if the events are appearing there. If they are, then the next step is to focus on rules.
For Windows Event Channel logs, Wazuh already has default decoders, so you don’t need to create custom decoders. However, if alerts are not showing on the dashboard, you may need to create custom rules with a level of 3 or higher.
From what you described, it looks like there might be an issue with your custom rules. One common problem is using <decoded_as>json</decoded_as>. Even though logtest may show JSON, the logs are actually decoded as windows_eventchannel. Also, if a parent rule is triggering with a level below 3, it won’t show up on the dashboard.
It would help if you could share your custom rules and a few sample logs from archives.log in text format. I can review them and help you adjust the rules correctly.
If the events are still not reaching the manager, please also share the agent C:\Program Files (x86)\ossec-agent\ossec.log and C:\Program Files (x86)\ossec-agent\ossec.conf files. And share the manager ossec.log file with us: /var/ossec/logs/ossec.log
Also, if you have a specific log that you want to trigger alerts for, share that as well. I can help you fine-tune both the agent configuration and the rules.
Thank you for the detailed guidance.
I will review the agent side logs and configuration as suggested, and fine tune the event channel settings. I’ll also check the archives logs and revisit the rules accordingly.
I will get back to you shortly and share the requested logs, configurations, and sample events for your review.
Thanks again for your support.
Best regards,
Areeba