The ossec-logcollector daemon monitors configured files and commands for new log messages. ossec-logcollector is configured in ossec.conf. (see ossec.conf: Localfile options)

ossec-logcollector argument options

-c <config>

Run ossec-logcollector using <config> as the configuration file.

Default: /var/ossec/etc/ossec.conf


Execute ossec-logcollector in debug mode. This option can be used multiple times to increase the verbosity of the debug messages.


Run ossec-logcollector in the foreground.


Display the help message.


Test configuration.


Version and license information.