Provides the WazuhAgentFluentForwardConfiguration which allows to parse the fluent-forward section of the Wazuh local configuration (ossec.conf).

class WazuhAgentFluentForwardConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s fluent-forward configuration section.

Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/fluent-forward.html

address: str | None#

Address of the Fluentd server.

ca_file: str | None#

CA certificate file which will be used to validate the Fluentd server’s identity.

enabled: bool#

Indicates whether the module is enabled or not.

keepalive: WazuhAgentFluentForwardKeepaliveConfiguration | None#

TCP keepalive configuration section.

object_key: str | None#

The key of the log object.

password: str | None#

Password which is being used to authenticate against the Fluentd server.

poll_interval: int | None#

Connection health check interval in seconds.

port: int | None#

Port of the Fluentd server.

shared_key: str | None#

Authentication key for the Fluentd server. The presence of this value implies that the TLS secure mode is enabled.

socket_path: str | None#

Path of the UDP socket the agent is listening on.

tag: str | None#

Tag that will be added to forwarded messages.

timeout: int | None#

Timeout in seconds the module enforces for sending and receiving when communicating with the Fluentd server.

user: str | None#

Username which is being used to authenticate against the Fluentd server.