Logstash ElasticSearch Output not using special characters (!)

Hello everyone,

I have my logstash and want to connect to my ElasticSearch instance with OpenDistro installed.
I've created an user logstash with password "logstash!" but logstash have an error saying "Got response code '401' contacting Elasticsearch at URL '#the_URL'".

I've tried changing the password to one without special characters like "logstash" and that works well. So did someone already had this problem and can help me fix it ?

BTW, the password given here is an example and I can't simplify it to fix the problem.

Here is my elasticsearch output config :

elasticsearch{
                index => "tomee_log_error_"
                hosts => "#the_ip"
                user => "logstash"
                password => "logstash!"
                ssl => true
                ssl_certificate_verification => false
                ilm_enabled => false
        }

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