Last active
January 1, 2016 05:39
-
-
Save chriseckhardt/8100057 to your computer and use it in GitHub Desktop.
logstashy stuff
This file contains 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
# sender:/etc/logstash/shipper.conf | |
input { | |
stdin { | |
debug => true | |
type => "host-agent-input" | |
} | |
} | |
output { | |
rabbitmq { | |
debug => true | |
host => "192.168.50.40" | |
port => 5672 | |
ssl => false | |
user => "logstash" | |
password => "logstash" | |
exchange => "logstash-exchange" | |
vhost => "/logstash" | |
exchange_type => "direct" | |
key => "logstash-routing-key" | |
durable => true | |
persistent => true | |
} | |
} | |
# indexer:/etc/logstash/central.conf | |
input { | |
rabbitmq { | |
host => "192.168.50.40" | |
port => 5672 | |
ssl => false | |
user => "logstash" | |
password => "logstash" | |
vhost => "/logstash" | |
exchange => "logstash-exchange" | |
key => "logstash-routing-key" | |
exclusive => false | |
durable => true | |
auto_delete => false | |
type => "logstash-indexer-input" | |
} | |
} | |
output { | |
elasticsearch { | |
debug => true | |
bind_host => "192.168.50.40" | |
cluster => "logstash" | |
embedded => false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment