-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempted to resurrect connection to dead ES instance, but got an error. #160
Comments
Having same issue, have you solved? |
I created a new EC2 instance and recreated configuration on it but I still don't know why the problem was occuring on the old EC2. |
Specs of the EC2 instance pls? |
|
Thanks, I am using Amazon Linux one (medium). Still need to figure out the issue. |
Same issue for me. I'm suspecting a throttle on the elasticsearch side because this error appears near another error about the Request size exceeded .
Even with the max_bulk_bytes set to 100.000 I have these errors. |
@pgs-progress Did you ever figure this out? |
@NeckBeardPrince Unfortunately not. I recreated an EC2 instance and on the new one the problem disappeared. |
sigh not a lot of info in the error for me to troubleshoot either. Thanks. |
Got same issue. Any advices? |
Anyone got the fix? |
I've also got the same problem.
Whereas elasticsearch is available-
Strangely when I try to stop logstash service, I get this problem from logstash-plain.log
Then I've to kill the logstash process. Although, I am able to upload a csv using a custom config file using below command- |
UPDATE: I had been parsing local CSV files only for triage till now, so it was first time I was getting a syslog file. |
I got this issue as well, it was due to the user lacking privileges to the root path. By adding cluster-level monitor privileges the problem was gone. Not necessarily the same issue, but the error message was the same. |
Hi,
I have a problem with connection to the AWS ES service from logstash installed on AWS EC2.
I have two instances [logstash01, logstash02] with the same configuration:
The first instance is working fine but on the second one there are many warnings:
[2020-07-03T09:52:46,924][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>https://{my-aws-es-service}.{aws-region}.es.amazonaws.com:443/, :path=>"/"} [2020-07-03T09:52:46,927][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"https://{my-aws-es-service}.{aws-region}.es.amazonaws.com:443/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '403' contacting Elasticsearch at URL 'https://{my-aws-es-service}.{aws-region}.es.amazonaws.com:443/'"}
Both EC2 instances have been assigned to the same IAM Role with full access to ES, they are both in the same VPC, subnet and their security groups have the same rules. I am able to curl ES service from both EC2s.
The configuration of amazon_es output plugin is:
output { amazon_es { hosts => ["{my-aws-es-service}.{aws-region}.es.amazonaws.com"] region => "{aws-region}" index => "logstash-%{[index]}-%{+YYYY.MM.dd}" } }
I have had this issue for couple of days and not able to resolve. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: