Hi all,
I am getting the following error:
"INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://:80: Broken pipe"
In logstash.err file during the same time in the logstash.log file I see:
"{:timestamp=>"2016-10-04T14:53:35.475000+0000", :message=>"Attempted to send a bulk request to Elasticsearch configured at '["http:///"]', but Elasticsearch appears to be unreachable or down!", :error_message=>"Broken pipe", :class=>"Manticore::SocketException", :level=>:error}"
I know that the AWS service is reachable from this EC2 instance because I can do a curl to the service to get the health check of the service. Also I see indexes created in the AWS service but after a while I do not see more documents added to the index.
What can cause this error?
AWS service for ElasticSearch is version 1.5
Logstash version 2.3.4.1
Configuration file:
input {
beats {
port => 5044
congestion_threshold => 180
}
}
filter {
if [beat][name] == "Raven" {
if [type] == "analytics" {
json {
source => "message"
}
}
}
}
output {
elasticsearch {
hosts => ":80"
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
flush_size => 20
workers => 4}
}