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

File diff suppressed because it is too large Load Diff