ossec-logcollector

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

-d

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

-f

Run ossec-logcollector in the foreground.

-h

Display the help message.

-t

Test configuration.

-V

Version and license information.