Update Filebeat for XPack Security
This commit is contained in:
parent
6cffed9218
commit
3ff5a194df
@ -53,6 +53,15 @@ output.elasticsearch:
|
|||||||
#pipeline: geoip
|
#pipeline: geoip
|
||||||
indices:
|
indices:
|
||||||
- index: 'wazuh-alerts-3.x-%{+yyyy.MM.dd}'
|
- index: 'wazuh-alerts-3.x-%{+yyyy.MM.dd}'
|
||||||
|
{% if filebeat_xpack_security %}
|
||||||
|
username: {{ elasticsearch_user }}
|
||||||
|
password: {{ elasticsearch_password }}
|
||||||
|
protocol: https
|
||||||
|
ssl.certificate_authorities:
|
||||||
|
- {{node_certs_destination}}/ca.crt
|
||||||
|
ssl.certificate: "{{node_certs_destination}}/{{ filebeat_node_name }}.crt"
|
||||||
|
ssl.key: "{{node_certs_destination}}/{{ filebeat_node_name }}.key"
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Optional. Send events to Logstash instead of Elasticsearch
|
# Optional. Send events to Logstash instead of Elasticsearch
|
||||||
#output.logstash.hosts: ["YOUR_LOGSTASH_SERVER_IP:5000"]
|
#output.logstash.hosts: ["YOUR_LOGSTASH_SERVER_IP:5000"]
|
||||||
Loading…
Reference in New Issue
Block a user