Open kfrajtak opened 2 years ago
How about using %27changeme%27
in password?
password %27changeme%27
irb> require 'cgi'
irb> CGI.escape("'changeme'")
=> "%27changeme%27"
I tried that as well and it does not work.
But then I gave it a second thought - ES has now more strict security model and maybe it's not just the question of user name and password but it also checks the access to indices etc. So I created a role in ES for fluentd and matching index (relaxing everything else)
And then I created new user granting the user this role and it worked!
Here's a list of links that helped me:
Can you update project homepage with this information?
Thanks for the information. I'll update README w/ the information.
(check apply)
Problem
I am not able to connect
fluentd
to ES with userelastic
with password'changme'
(quotes are part of the password).REST API call from CLI works:
Steps to replicate
Set ES account with given username and password.
Configuration file did not work neither with directly typed password
'changeme'
nor with escaped%27changme%27
nor with%{'changeme'}
...Expected Behavior or What you need to ask
The question is how to make this work?
Using Fluentd and ES plugin versions
Windows 10
Docker
Fluentd v1.14.5 (docker image fluent/fluentd:v1.14-1)
ES plugin 5.2.1
ES version 8.2.1