Adding dynamic template fetch to filebeat-oss

This commit is contained in:
Zenidd 2020-06-23 17:03:33 +02:00
parent eb276a1f73
commit 600dd40896
2 changed files with 4 additions and 1804 deletions

View File

@ -9,9 +9,9 @@
mode: 0400 mode: 0400
notify: restart filebeat notify: restart filebeat
- name: Copy Elasticsearch template. - name: Fetch latest Wazuh alerts template
template: get_url:
src: elasticsearch.yml.j2 url: https://raw.githubusercontent.com/wazuh/wazuh/master/extensions/elasticsearch/7.x/wazuh-template.json
dest: "/etc/filebeat/wazuh-template.json" dest: "/etc/filebeat/wazuh-template.json"
owner: root owner: root
group: root group: root
@ -19,4 +19,4 @@
notify: restart filebeat notify: restart filebeat
tags: tags:
- configure - configure

File diff suppressed because it is too large Load Diff