Release 10.3.0 #120
|
@ -12,6 +12,12 @@ filebeat_elasticsearch_auth_api_key: ""
|
||||||
filebeat_elasticsearch_auth_username: ""
|
filebeat_elasticsearch_auth_username: ""
|
||||||
filebeat_elasticsearch_auth_password: ""
|
filebeat_elasticsearch_auth_password: ""
|
||||||
|
|
||||||
|
filebeat_logstash_hosts: []
|
||||||
|
filebeat_logstash_protocol: "http"
|
||||||
|
filebeat_logstash_auth_api_key: ""
|
||||||
|
filebeat_logstash_auth_username: ""
|
||||||
|
filebeat_logstash_auth_password: ""
|
||||||
|
|
||||||
filebeat_use_config_template: False
|
filebeat_use_config_template: False
|
||||||
filebeat_update_config: True
|
filebeat_update_config: True
|
||||||
filebeat_force_config: True
|
filebeat_force_config: True
|
||||||
|
|
|
@ -143,15 +143,11 @@ setup.kibana:
|
||||||
|
|
||||||
# Configure what output to use when sending the data collected by the beat.
|
# Configure what output to use when sending the data collected by the beat.
|
||||||
|
|
||||||
|
{% if filebeat_elasticsearch_hosts %}
|
||||||
# ---------------------------- Elasticsearch Output ----------------------------
|
# ---------------------------- Elasticsearch Output ----------------------------
|
||||||
output.elasticsearch:
|
output.elasticsearch:
|
||||||
# Array of hosts to connect to.
|
|
||||||
hosts: ["{{ filebeat_elasticsearch_hosts | join('", "') }}"]
|
hosts: ["{{ filebeat_elasticsearch_hosts | join('", "') }}"]
|
||||||
|
|
||||||
# Protocol - either `http` (default) or `https`.
|
|
||||||
protocol: "{{ filebeat_elasticsearch_protocol | default('http') }}"
|
protocol: "{{ filebeat_elasticsearch_protocol | default('http') }}"
|
||||||
|
|
||||||
# Authentication credentials - either API key or username/password.
|
|
||||||
{% if filebeat_elasticsearch_auth_api_key %}
|
{% if filebeat_elasticsearch_auth_api_key %}
|
||||||
api_key: "{{ filebeat_elasticsearch_auth_api_key }}"
|
api_key: "{{ filebeat_elasticsearch_auth_api_key }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -161,11 +157,22 @@ output.elasticsearch:
|
||||||
{% if filebeat_elasticsearch_auth_password %}
|
{% if filebeat_elasticsearch_auth_password %}
|
||||||
password: "{{ filebeat_elasticsearch_auth_password }}"
|
password: "{{ filebeat_elasticsearch_auth_password }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
# ------------------------------ Logstash Output -------------------------------
|
{% if filebeat_logstash_hosts %}
|
||||||
#output.logstash:
|
# ---------------------------- Logstash Output ---------------------------------
|
||||||
# The Logstash hosts
|
output.logstash:
|
||||||
#hosts: ["localhost:5044"]
|
hosts: ["{{ filebeat_logstash_hosts | join('", "') }}"]
|
||||||
|
protocol: "{{ filebeat_logstash_protocol | default('http') }}"
|
||||||
|
{% if filebeat_logstash_auth_api_key %}
|
||||||
|
api_key: "{{ filebeat_logstash_auth_api_key }}"
|
||||||
|
{% endif %}
|
||||||
|
{% if filebeat_logstash_auth_username %}
|
||||||
|
username: "{{ filebeat_logstash_auth_username }}"
|
||||||
|
{% endif %}
|
||||||
|
{% if filebeat_logstash_auth_password %}
|
||||||
|
password: "{{ filebeat_logstash_auth_password }}"
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Optional SSL. By default is off.
|
# Optional SSL. By default is off.
|
||||||
# List of root certificates for HTTPS server verifications
|
# List of root certificates for HTTPS server verifications
|
||||||
|
|
Loading…
Reference in a new issue