Skip to content

Instantly share code, notes, and snippets.

@thogg4
Last active August 29, 2015 14:09
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 thogg4/31d060b8b8db936f49e9 to your computer and use it in GitHub Desktop.
Save thogg4/31d060b8b8db936f49e9 to your computer and use it in GitHub Desktop.
input {
file {
type => "rails"
path => ["/docker/log/logstash_production.log"]
codec => json {
charset => "UTF-8"
}
}
rabbitmq {
host => 10.230.32.23 # production (stage is 10.230.32.4)
vhost => "blackbox_remote"
user => "logstash"
password => "blackboxlogs_prod"
exchange => "logs"
ack => "false"
exclusive => "true"
codec => msgpack
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
protocol => "http"
host => "ES_HOST"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment