If added to agent.conf template localfile tag

This commit is contained in:
Gonzalo Acuña 2022-04-27 19:07:07 -03:00
parent a6093aedd9
commit d1b80ebd29
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270
2 changed files with 38 additions and 36 deletions

View File

@ -1,7 +1,7 @@
---
filebeat_version: 7.10.2
wazuh_template_branch: v4.3.0
wazuh_template_branch: 4.3
filebeat_node_name: node-1

View File

@ -43,6 +43,7 @@
</syscheck>
{% endif %}
{% if agent_config.localfiles is defined %}
{% for localfile in agent_config.localfiles %}
<localfile>
<log_format>{{ localfile.format }}</log_format>
@ -78,6 +79,7 @@
{% endif %}
</localfile>
{% endfor %}
{% endif %}
{% if agent_config.rootcheck is defined %}
<rootcheck>