Logstash secuirty

After enabling xpack in the elasticsearch yml and setting passwords for elasticsearch I get the following error when trying to index into my elasticsearch cluster using logstash:

BadResponseCodeError, :message=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/'"}

Does anyone know how to fix this problem?

Thank you,
Rick

What does your config look like?
Have you tested the username and password you have configured with curl directly to Elasticsearch?

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