Skip to content

Commit

Permalink
Merge pull request #1408 from wazuh/enhancement/1834-add-journald-to-…
Browse files Browse the repository at this point in the history
…demo

Add support for journald logs
  • Loading branch information
teddytpc1 authored Sep 18, 2024
2 parents 2bca612 + 6fb5192 commit 09dbe61
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down Expand Up @@ -378,6 +378,10 @@
{% endif %}
</localfile>
{% endfor %}
<localfile>
<log_format>journald</log_format>
<location>journald</location>
</localfile>
{% endif %}

{% if ansible_system == "Darwin" %}
Expand Down

0 comments on commit 09dbe61

Please sign in to comment.