Merge pull request #756 from wazuh/802-fix-windows-errors

Fixed duplicated entries in Windows agent conf #804
This commit is contained in:
Alberto Rodríguez 2022-04-28 10:15:42 +02:00 committed by GitHub
commit ab62e61000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 36 deletions

View File

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

View File

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