LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError: Got response code '401' contacting Elasticsearc

when I deploy logstash in k8s and config out to es,the pod has occur this error log:

LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError: Got response code '401' contacting Elasticsearch

Failed to install template. {:message=>"Got response code '401' contacting Elasticsearch at URL 'https://search-hops-log-xxxxxxxxxxxxxx.ap-northeast-1.es.amazonaws.com:443/_xpack'", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError",

this is my logstash config,please help me


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