Hi,
We are collecting the application logs generated on one server, sending them to logstash using Filebeat. There are different format/types of log data, we had individual logstash config file to parse the data( i.e. each config file has the input, filter and output section). For all the config files, Filebeat will be the input.
So, i have copied all the logstash config files in to one single directory (config directory). When i started the logstash, it gives the following error:
$ bin/logstash -f ConfigDirPath/
Pipeline aborted due to error {:exception=>#<Errno::EADDRINUSE: Address already in use - bind - Address already in use>, :backtrace=>["org/jruby/ext/socket/RubyTCPServer.java:118:in
initialize'", "org/jruby/RubyIO.java:853:in new'", "/home/custom/logstash-2.3.4/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.2.9/lib/lumberjack/beats/server.rb:51:in
initialize'",`
Is there any option to run all the config files at the same time to read events sent by filebeat ?
Again, all the config files has the following in their input section:
input {
beats {
port => 5044
}
}