Skip to content

Instantly share code, notes, and snippets.

@robertely
Last active December 17, 2015 15:39
Show Gist options
  • Save robertely/5633539 to your computer and use it in GitHub Desktop.
Save robertely/5633539 to your computer and use it in GitHub Desktop.
logstash output examples.
output {
# stdout {
# debug => false
# debug_format => ruby
# }
# graphite {
# host => "localhost"
# metrics => [ "machines.%{datacenter}.%{hostname}.%{path}", "%{value}" ]
# port => 2003
# type => "collectdPlain"
# }#
# rabbitmq {
# host => "rmqxxx.xxx.xxx.com"
# vhost => "logs***"
# user => "logs***"
# password => "logs***"
# exchange => "logstash.out"
# exchange_type => "fanout"
# durable => false # If rabbitmq restarts, the exchange disappears.
# auto_delete => true # If logstash disconnects, the exchange goes away
# persistent => false # Messages are not persisted to disk
# type => "collectdPlain"
# }
# elasticsearch {
# embedded => true
# }
# null {
# type => "collectdPlain"
# }
}
@robertely
Copy link
Author

Uncomment as needed. Don't beat up stdout too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment