Provides the WazuhAgentLoggingConfiguration which allows to parse the logging section of the Wazuh local configuration (ossec.conf).

class WazuhAgentLoggingConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s logging configuration section.

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

json: bool#

Indicates whether logs will be written in json format. (ossec.json)

plain: bool#

Indicates whether logs will be written as plain text. (ossec.log)