This is regarding load balancing option we have for filebeat.
logstash:
hosts: ["host1:5044","host2:5044"]
loadbalance: true
What will be the algorithm it will be using if we enable load balance?
We are using codec => multiline in loagstash.
beats {
port => 9400
ssl => true
ssl_certificate => "/etc/logstash/server.crt"
ssl_key => "/etc/logstash/server.key"
#type => "syslog"
codec => multiline {
# Grok pattern names are valid!
pattern => "^%{TIMESTAMP_ISO8601} |^%{DATA}\s*-\s*%{DATESTAMP}"
negate => true
what => previous
}
If we enable loadbalance in filebeat and if we are using above multiline filter in logstash , will it create any confusion if multiple log lines get delivered to different logstash instance?