For some reason, when I have logstash running locally on the same server as the beat service I get constant connection resets. There is no SSL configured and the only input. There is no firewall running. This is the current beats and logstash 5.3.
input {
beats {
port => 5044
}
And only one output:
output {
amazon_es {
hosts => ["xxx.us-east-1.es.amazonaws.com"]
region => "us-east-1"
# aws_access_key_id, aws_secret_access_key optional if instance profile is configured
aws_access_key_id => 'xxxx'
aws_secret_access_key => 'xxxx'
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
On the same server metricbeat is successfully running connecting to the same port.