Created
December 27, 2019 08:08
-
-
Save sderungs/27fdf719dc2db61ff54f31460aa4de47 to your computer and use it in GitHub Desktop.
20191227_elastic_7.3.0-logstash-threads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
beats { | |
port => 5044 | |
ssl => true | |
ssl_certificate_authorities => [ "/usr/share/logstash/config/ca-chain.crt" ] | |
ssl_certificate => "/usr/share/logstash/config/certificate.crt" | |
ssl_key => "/usr/share/logstash/config/private.key" | |
ssl_key_passphrase => "" | |
ssl_verify_mode => "force_peer" | |
} | |
} | |
filter { ... left out ... } | |
output { | |
elasticsearch { | |
hosts => [ "elasticsearch:9200" ] | |
sniffing => false | |
manage_template => true | |
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{[@metadata][project]}-%{[@metadata][environment]}-%{[@metadata][application]}-%{+YYYY.MM.dd}" | |
user => "${ES_USER}" | |
password => "${ES_PASSWORD}" | |
ssl => true | |
ssl_certificate_verification => true | |
cacert => "/usr/share/logstash/config/ca-chain.crt" | |
} | |
stdout { codec => json } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http.host: "0.0.0.0" | |
path: | |
config: /usr/share/logstash/pipeline | |
data: /usr/share/logstash/data | |
pipeline: | |
workers: 3 | |
batch.size: 125 | |
config: | |
reload: | |
automatic: true | |
interval: 10s | |
xpack.monitoring: | |
enabled: true | |
elasticsearch: | |
hosts: [ "https://elasticsearch:9200" ] | |
ssl.certificate_authority: /usr/share/logstash/config/ca-chain.crt | |
username: "${ES_USER}" | |
password: "${ES_PASSWORD}" | |
log.level: info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment