Hii I was using lumberjack input to receive logs from Logstash Forwarder . Then I also used Filebeat and liked some of its properties . Now I have one server that sends logs to Logstash using Filebeat and another server that sends logs to Logstash using Logstash Forwarder. So my input section looks something like this-
input {
beats {
port => 5000
ssl => true
ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder.crt"
ssl_key => "/etc/pki/tls/private/logstash-forwarder.key"
}
lumberjack {
codec => multiline {
pattern => "^\["
what => "previous"
negate => true
}
port => 5000
ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder.crt"
ssl_key => "/etc/pki/tls/private/logstash-forwarder.key"
}
}
But my logstash could not start . It says -
Default settings used: Filter workers: 2
The error reported is:
Address already in use - bind - Address already in use
If I use either only Filebeat or lumberjack things work fine . I need the two to work . How can i achieve the same ?????