Hi,
Please let me know how you are forwarding the logs and share more details about the process.
If you are forwarding the logs using the localfile monitoring capability in Wazuh, you can add a prefix to logs received from a specific path in Wazuh version 4.3.11.
To add a prefix, use the <label> tag while configuring localfile monitoring in the agent's /var/ossec/etc/ossec.conf file, as shown below:
You can refer to the Wazuh local configuration documentation for more details.
Hi,
Yes, it is possible to store syslog-format logs in a customized format using the <out_format> tag. This tag allows you to define how a log message should appear by using field substitution, pulling data like timestamp, hostname, log content, etc., and arranging it in a structured format.
You can refer to the Wazuh localfile configuration documentation for the configuration details and to check the available parameters.