Dear Wazuh Team,
I am experiencing an issue with Wazuh where alerts are generated successfully when using ossec-logtest, but no alerts appear in real-time when the system is running normally.
I have verified that:
Attached is a screenshot illustrating the issue:




Could you please advise on potential causes and how to resolve this?
Thank you for your support!
Best regards,
Tùng
You can also to create the rule based on the default rule that is being triggered. For example, if the default rule in your case is triggering 60001, you should create a custom rule using <if_sid> like this:
<rule id="220001" level="7">

In your second log test, no alert was triggered. In this case, you need to create a rule like this:
<rule id="220001" level="3">This rule will trigger if the log is decoded as windows_eventchannel and the win.system.eventID is 106.
For testing purposes, make sure to change the decoded field to JSON because, during testing, the decoder processes the log as JSON, but in reality, it will be decoded as windows_eventchannel.
Once you have finished testing Windows events in wazuh-logtest or ruletest, remember to revert rule 60000 to its previous state.
Let me know if you need any further assistance