Make filebeat.yml use node name instaed of inventory_hostname
This commit is contained in:
parent
c72ac56b39
commit
4b8f519256
@ -24,8 +24,8 @@ output.elasticsearch:
|
|||||||
protocol: https
|
protocol: https
|
||||||
ssl.certificate_authorities:
|
ssl.certificate_authorities:
|
||||||
- {{ filebeat_ssl_dir }}/root-ca.pem
|
- {{ filebeat_ssl_dir }}/root-ca.pem
|
||||||
ssl.certificate: "{{ filebeat_ssl_dir }}/{{ inventory_hostname }}.pem"
|
ssl.certificate: "{{ filebeat_ssl_dir }}/{{ filebeat_node_name }}.pem"
|
||||||
ssl.key: "{{ filebeat_ssl_dir }}/{{ inventory_hostname }}.key"
|
ssl.key: "{{ filebeat_ssl_dir }}/{{ filebeat/node/name }}.key"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Optional. Send events to Logstash instead of Elasticsearch
|
# Optional. Send events to Logstash instead of Elasticsearch
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user