Thank you very much for your answer!
I will go by parts what I have checked with your information.
1. Review your ruleset
I did not write new rules that use these windows message as a base.
I have some custom rules for our switches though, and they are working fine.
What I did in the past few days was update wazuh from 4.2 to 4.3. However I have noticed that this problem started before this update.
2. Review your indexer
This might be related but I am not so sure. In the past month I had a problem with elasticsearch shards, it has gone past the limit of 1000 shards, so I had to delete some older index, and I am not sure if I did something to rebuild the indexes that might have break something internally.
I have checked alerts.json and there are no alerts of this month regarding this rule, what I did was:
grep '"id":"60106"' alerts.json
And there was no alert.
3. Review your agents
I have some custom agent.conf files for groups of agents, I have a question here. This is my agent.conf file for the default group:
<agent_config>
<!-- Shared agent configuration here -->
DELETE /agents/001/group/default
<localfile>
<location>Security</location>
<log_format>eventchannel</log_format>
<query>Event/System[EventID!=4673|4674]</query>
</localfile>
</agent_config>
Is this fine? I mean, can I write only the <localfile> ? Or do I have to replicate every config for the agent, for example I have to write <syscheck>, <sca>, <rootcheck>, etc.
I have also turned on logall and checked the archives.json with:
grep '"id":"60106"' archives.json
And it did not show any results as well.
4. Review if the system is flooded
I have checked both files and they show:
dicarded_count='0'
events_dropped='0'
5. Review your Windows configuration
I have checked the windows event messaged at the windows servers and the event is being generated in there
Also, it is obvious but, do you have the same number of active agents/servers?
If by this you mean the agent is connected to the manager, it does show in the manager the agent I am debugging. I am looking at a production environment, so there is hundred of agents connected to the manager, and no logon messaged whatsoever.
Again, I would like to thank you for your patience and help!
Regards,
Cézar