When elastic X-PACK is enabled logstash can't connect to elasticsearch

when elastic X-PACK is enabled how logstash can connect to elastic 9200
the logstash can't startup when use ./logstash -f logstash.conf
the confgure file output elasticsearch host xx.xx.xx:9200
the logstash log output error "401" "Got response code 401 contact elasticsearch at url 'http://xx.xx.xx.xx:9200'"

Have you configured Logstash to authenticate to Elasticsearch? The 401 response indicates you haven't, or that you're using the wrong credentials.

i find it how to solve it in logstash configure file can add the es user and password
can cloes it .

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