Amazon ES integration with K8s logstash pod

Hello, need some help,
I have logstash pod in k8s with connection to my Amazon ES:

 Define logstash outputs
output {
    amazon_es {
                   hosts => "vpc-es-dvc-..........eu-west-1.es.amazonaws.com"

                   region => "eu-west-1"
       }

When I try to run the pod i see error:

  `[2020-05-19T10:37:58,891][WARN ][logstash.outputs.amazonelasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"https://vpc-es-dvc-..........eu-west-1.es.amazonaws.com:443/", :error_type=>LogStash::Outputs::AmazonElasticSearch::HttpClient::Pool::BadResponseCodeError, :error=>"Got response code '403' contacting Elasticsearch at URL 'https://vpc-es-dvc-........eu-west-1.es.amazonaws.com:443/'"}`

Amazon es logstash plugin installed on pod....

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.