Please help in Logstash Error

Hi all,

I am trying to read log files from other machine using Filebeat at my end in Logstash.
When I am staring my logstash, it is throwing an ERROR as below:

A plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::Beats port=>9300, codec=><LogStash::Codecs::Plain charset=>"UTF-8">, host=>"0.0.0.0", ssl=>false, ssl_verify_mode=>"none", include_codec_tag=>true, ssl_handshake_timeout=>10000, congestion_threshold=>5, target_field_for_codec=>"message", tls_min_version=>1, tls_max_version=>1.2, cipher_suites=>["TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA38", "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"], client_inactivity_timeout=>15>

My logstash Config file is:

input {
beats {
port => 9300
}
}

#}

The filter part of this file is commented out to indicate that it is

optional.

filter {

}

output {
elasticsearch {
hosts => [ "10.250.22.115:9200" ]
index => "logstashes-%{+YYYY.MM.dd}"
}
file {
path => "/home/amits/ELK-deploy/logstash-2.4.0/logstash-data/logs.txt"
}
stdout { codec => rubydebug }
}

Please help. Thanks in advance.

Is here nothing else in the log?

Why use port 9300 when that's Elasticsearch's preferred port? If you currently run ES on the same host that could explain why Logstash refuses to start.

Thanks magnus :slight_smile:
Now its working. It was issue of port only. 5044 works for me