Guest User

Untitled

a guest
Sep 3rd, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. output{
  2. if [@metadata][pipeline] {
  3. elasticsearch {
  4. hosts => "https://localhost:9200"
  5. manage_template => false
  6. cacert => "/etc/elasticsearch/estackcap12extract.crt"
  7. ssl => true
  8. ssl_certificate_verification => false
  9. index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
  10. pipeline => "%{[@metadata][pipeline]}"
  11. user => "elastic"
  12. password => "password"
  13. }
  14. } else { # ... didn't copy the rest
Add Comment
Please, Sign In to add comment