The ossec-logcollector program monitors configured files and commands for new log messages.

-c <config>

Run using <config>, as the configuration file.

Default value



Run in debug mode. This option may be repeated to increase the verbosity of the debug messages.


Run in the foreground.

-g <group>

Run as a group.


Display the help message.


Test configuration.


Display the version and license information