This is a continuation from logstash-users; moving here.
On Mon, Jun 1, 2015 at 9:50 AM, Magnus Bäck magnus.back@sonymobile.com wrote:
On Monday, June 01, 2015 at 16:38 CEST,
brandon.metcalf@logicmonitor.com wrote:
We are using pretty trivial logstash setup. Sender configs look
something like
[...]
output {
tcp {
host => "log02.us-east-1.logicmonitor.net"
port => 2009
mode => "client"
codec => "json"
workers => 10
}
}
[...]
output {
file {
path => "/log/%{new-host}/%{path}"
codec => "json"
message_format => "%{message}"
workers => 30
}
}
We are finding that logs entries are being written out of order
(seemingly random) to the destination files on the receiver.
With multiple output workers for both the tcp and file outputs that's
expected. There are no ordering guarantees.
I tested with just one tcp output worker and get the same behavior. I did not change the file output workers. Anything else to look at? Thanks.