Hi Emar,
I have noticed that eventID 4688 is matched with rule ID 60100, which is level 0. So that's why it won't show in the dashboard. Therefore, I have created a custom rule that you can place in the custom rule creation path /var/ossec/etc/rules/local_rules.xml.
<group name="custom_windows,"> <rule id="400100" level="3"> <if_sid>60100</if_sid> <field name="win.system.eventID">^4688$</field> <description>New process has been created.</description> </rule> </group>Make sure to restart the manager after adding the custom rule: systemctl restart wazuh-manager
By default, Wazuh collects and forwards event ID 4688 from the Security event channel to the manager without needing any additional configuration. Other event IDs that are not excluded from the default config will forward to the Wazuh manager.
<localfile> <location>Security</location> <log_format>eventchannel</log_format> <query>Event/System[EventID != 5145 and EventID != 5156 and EventID != 5447 and EventID != 4656 and EventID != 4658 and EventID != 4663 and EventID != 4660 and EventID != 4670 and EventID != 4690 and EventID != 4703 and EventID != 4907 and EventID != 5152 and EventID != 5157]</query> </localfile>
Please verify that 4688 is configured to be excluded from the Security log collection. If yes, remove 4688 from the Security log collection and restart the agent to apply changes. Then you can simulate 4688 events and check again after applying the custom rule.
Let me know the update on this.
Ref:
https://documentation.wazuh.com/current/user-manual/ruleset/rules/custom.html
https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/rules.html


Could you share the configuration files with me so I can review them further?
If the logs aren't being received by the archives, the issue is likely at the log collection level. Also, you don't need to explicitly configure Event ID 4688 in either agent.conf or ossec.conf. Wazuh can collect that type of log out of the box with its default configuration, so there's no need to add it.
What I'd really like to look at is the actual config to see if anything else might be affecting the log collection. So, could you please share the following files from the agent side?
That way, I can spot if anything in the configuration is interfering with the logs coming through!
Yes, I have attached the files.
I identified an issue during testing: when I configure only EventID=4725 in the shared agent.conf, the logs appear correctly in the Wazuh dashboard. Even when I include 4–5 EventIDs with OR operator, all corresponding logs are still collected as expected.
However, when I add many EventIDs using the OR operator, some events (for example, 4726) are missing from the logs.
I hope this observation helps in identifying the root cause of the problem.