Here is my configuration
strong text
input {
tcp {
port => 5000
type => "logs"
codec => "json_lines"
}
}
output {
elasticsearch { hosts => "localhost" }
stdout { codec => rubydebug }
}
The input is still opened on port 5000 and after a few retries, the connection is accepted again.
The java client has a connection pool to the logsash server.