Merge pull request #1408 from wazuh/enhancement/1834-add-journald-to-demo

Add support for journald logs
This commit is contained in:
Gonzalo Acuña 2024-09-18 14:08:15 -03:00 committed by GitHub
commit 09dbe61ef0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -284,7 +284,7 @@
{% endif %}
<!-- Files/directories to ignore -->
{% if wazuh_agent_config.syscheck.ignore is defined and (ansible_system == "Linux" or ansible_system == "Darwin") %}
{% if wazuh_agent_config.syscheck.ignore is defined and (ansible_system == "Linux" or ansible_system == "Darwin") %}
{% for ignore in wazuh_agent_config.syscheck.ignore %}
<ignore>{{ ignore }}</ignore>
{% endfor %}
@ -378,6 +378,10 @@
{% endif %}
</localfile>
{% endfor %}
<localfile>
<log_format>journald</log_format>
<location>journald</location>
</localfile>
{% endif %}
{% if ansible_system == "Darwin" %}