Adding dynamic template fetch to filebeat-oss
This commit is contained in:
parent
eb276a1f73
commit
600dd40896
@ -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
Loading…
Reference in New Issue
Block a user