Hi Martin, hope you are well
Thank you for using Wazuh.
Please be aware of not using the "-" character as it might affect the query's syntax.
This same result can be achieved using the filter option, as you did in the example you attached, but again the "-" character should not be used.
Please let me know if this was useful for you. I'll be glad to help if you have any issues.
Regards,
Jose