【发布时间】:2017-08-03 17:37:24
【问题描述】:
我试图从 logstash 读取 rabbitmq 队列中的日志,然后将其传递给 elasticsearch。但没有成功。这是我的 logstash 配置。
input {
rabbitmq {
host => "localhost"
port => 15672
heartbeat => 30
durable => true
exchange => "logging_queue"
exchange_type => "logging_queue"
}
}
output {
elasticsearch {
hosts => "localhost:9200"
}
stdout {}
}
【问题讨论】:
标签: elasticsearch rabbitmq logstash kibana logstash-configuration