OS Manuals

/var/ossec/bin/wazuh-logtest-legacy

Wazuh Manager - Security monitoring and threat detection server

From wazuh-manager 4.14.10-r0 (enterprise-packages), captured 2026-11-08 by running wazuh-logtest-legacy --help (exit 1). permalink

/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 <config> Configuration file to use (default: etc/ossec.conf)
    -D <dir>    Directory to chroot into (default: /var/ossec)
    -U <rule:alert:decoder>  Unit test. Refer to contrib/ossec-testing/runtests.py
Options (8)
OptionDescriptionSource
-VVersion and license messagehelp
-hThis help messagehelp
-dExecute in debug mode.help
-tTest configurationhelp
-aAlerts outputhelp
-vVerbose (full) output/rule debugginghelp
-D dirDirectory to chroot into (default: /var/ossec)help
-U rule:alert:decoderUnit test.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.