Hi all,
I use logstash 2.4 to forward docs from RabbitMQ to Elasticsearch 2.4, I see correlation between how much the queue is full to logstash write rate. When the queue gets full the write rate significantly decrease and vice versa, did someone here encounter this issue or have a suggestion why might it happen?
logstash servers are idle, ES looks OK ...
input {
rabbitmq {
host => "host_name"
queue => "queue_name"
exchange => "exchange_name"
codec => "json"
durable => true
prefetch_count => 1000
threads => 8
}
}
output {
elasticsearch {
hosts => [ "elasticsearch24-hostname" ]
index => "events-%{+YYYY-MM-dd}-v%{schema_version}"
routing => "%{org_pk}"
document_id => "%{doc_id}"
flush_size => 1000
idle_flush_time => 2
document_type => "c_levent"
}
}