internal_options.conf: logcollector

Options for the log collection daemon (ossec-logcollector).

Location

All options are set in /var/ossec/etc/internal_options.conf or overridden in /var/ossec/etc/local_internal_options.conf.

Options

  • logcollector.loop_timeout

    Default: 2

  • logcollector.open_attempts

    Default: 8

  • logcollector.max_wildcard_files

    Maximum number of files that a single wildcard <location> pattern may monitor simultaneously (range 1 to 100000). Matches beyond this limit are ignored and logged, preventing file descriptor exhaustion. ossec-logcollector automatically adjusts its open file descriptor limit to accommodate configured files up to this boundary.

    Default: 256

  • logcollector.remote_commands=0

    Allow the agents to run commands defined in agent.conf.

    Allowed: 0,1

    Default: 0

    Note

    This option first appeared in OSSEC 2.7.