/var/ossec/bin/wazuh-logtest-legacy: invalid option -- '-' Wazuh v4.14.10 - Wazuh Inc. (info@wazuh.com) http://www.wazuh.com Since Wazuh v4.1.0 this binary is deprecated. Use wazuh-logtest instead wazuh-testrule: -[Vhdtva] [-c config] [-D dir] [-U rule:alert:decoder] -V Version and license message -h This help message -d Execute in debug mode. This parameter can be specified multiple times to increase the debug level. -t Test configuration -a Alerts output -v Verbose (full) output/rule debugging -c Configuration file to use (default: etc/ossec.conf) -D Directory to chroot into (default: /var/ossec) -U Unit test. Refer to contrib/ossec-testing/runtests.py