Skip to content

Instantly share code, notes, and snippets.

@mahnunchik
Created December 3, 2014 17:48
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 mahnunchik/56d4569806b91ab0187b to your computer and use it in GitHub Desktop.
Save mahnunchik/56d4569806b91ab0187b to your computer and use it in GitHub Desktop.
input {
lumberjack {
# The port to listen on
port => 12345
# The paths to your ssl cert and key
ssl_certificate => "/opt/ssl/logstash-forwarder.key"
ssl_key => "/opt/ssl/logstash-forwarder.crt"
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch_http {
host => "ES_HOST"
port => "ES_PORT"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment