Update filebeat template

This commit is contained in:
Jose M 2019-08-08 17:43:57 +02:00
parent 6259706755
commit bb0c79c455

View File

@ -57,8 +57,14 @@ output.elasticsearch:
username: {{ elasticsearch_xpack_security_user }} username: {{ elasticsearch_xpack_security_user }}
password: {{ elasticsearch_xpack_security_password }} password: {{ elasticsearch_xpack_security_password }}
protocol: https protocol: https
{% if generate_CA == true %}
ssl.certificate_authorities: ssl.certificate_authorities:
- {{node_certs_destination}}/ca.crt - {{node_certs_destination}}/ca.crt
{% elif generate_CA == false %}
ssl.certificate_authorities:
- {{node_certs_destination}}/{{ca_cert_name}}
{% endif %}
ssl.certificate: "{{node_certs_destination}}/{{ filebeat_node_name }}.crt" ssl.certificate: "{{node_certs_destination}}/{{ filebeat_node_name }}.crt"
ssl.key: "{{node_certs_destination}}/{{ filebeat_node_name }}.key" ssl.key: "{{node_certs_destination}}/{{ filebeat_node_name }}.key"
{% endif %} {% endif %}