Skip to content

Instantly share code, notes, and snippets.

@arslanm
Created July 21, 2017 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arslanm/b0dbae19e3371a8e92d774f330babdc8 to your computer and use it in GitHub Desktop.
Save arslanm/b0dbae19e3371a8e92d774f330babdc8 to your computer and use it in GitHub Desktop.
Logstash input for filebeat
input {
# ...
# filebeat access at port 5514
beats {
port => 5514
type => beats
ssl => true
ssl_certificate_authorities => [ "/etc/logstash/ssl/cacert.crt" ]
ssl_certificate => "/etc/logstash/ssl/server.crt"
ssl_key => "/etc/logstash/ssl/server.key"
ssl_key_passphrase => "password"
ssl_verify_mode => force_peer
}
# ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment