Last active
December 17, 2015 15:39
-
-
Save robertely/5633539 to your computer and use it in GitHub Desktop.
logstash output examples.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
# } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uncomment as needed. Don't beat up stdout too much.