Thank you so much
Emeka,
now the sysmon dns events are showing up in the wazuh UI, I solved the problem just by modifiying the rule level from 0 to 4 in /var/ossec/ruleset/rules/0595-win-sysmon_rules.xml
<rule id="61650" level="4">
<if_sid>61600</if_sid>
<field name="win.system.eventID">^22$</field>
<description>Sysmon - Event 22: DNS Query event</description>
<options>no_full_log</options>
<group>sysmon_event_22,</group>
</rule>
It seems that the local_rules.xml file do not affect the sysmon dns events and was only able to configure them in the default
0595-win-sysmon_rules.xm ?