Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- output{
- if [@metadata][pipeline] {
- elasticsearch {
- hosts => "https://localhost:9200"
- manage_template => false
- cacert => "/etc/elasticsearch/estackcap12extract.crt"
- ssl => true
- ssl_certificate_verification => false
- index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
- pipeline => "%{[@metadata][pipeline]}"
- user => "elastic"
- password => "password"
- }
- } else { # ... didn't copy the rest
Add Comment
Please, Sign In to add comment