-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Builder appears not to honour Kibana elasticsearch.username/password settings #11813
Comments
To be clear, essentially no end-user features in Kibana use the elasticsearch.username and elasticsearch.password. Those values are only used for the internal server user, which performs background behaviors such as creating the All end-user requests are authenticated with the credentials of whatever user is currently logged in. How is your authentication proxy passing authentication info? Via a header? |
@epixa sorry about the confusion on my end re. use of elasticsearch.username - I was aware of its use and promptly forgot about that while debugging this issue (which makes the topic rather incorrect as well). The fact remains that Visual Builder does not appear to provide auth to nginx, as you can see in the nginx logs above. All other log entries from Kibana contain username info; either the elasticsearch.username user, or the currently auth'ed Kibana user, e.g.,
vs
We're passing auth as a standard http auth header, which works for all other aspects of Kibana. Cheers. |
That is really weird. I just checked the code, and it seems to be doing what it should be doing in order to pass along authentication headers just like everything else. I haven't had a chance to dig into this further, but I'm going to mark this as a bug now in case anyone else is free to look into it. |
this may be fixed with #11656. Going into next patch release 5.4.1. |
@epixa @thomasneirynck resolved in 5.4.1 - thanks :) |
Kibana version: 5.4.0
Elasticsearch version: 5.4.0
Server OS version: Ubuntu 16.04.2
Browser version: Firefox 53.0.2
Browser OS version: Ubuntu 14.04.5
Original install method (e.g. download page, yum, from source, etc.): Elastic apt repo
Description of the problem including expected versus actual behavior:
Actual: When launching Visual Builder, with Kibana configured to use an Nginx reverse proxy + auth, Visual Builder displays an error: "The request for this panel failed". Time fields are also unavailable in Panel Options, when * is set as Index Pattern, i.e., no data is fetched from Elasticsearch.
Expected: A time series graph of count of all events, and no error message.
Steps to reproduce:
All other Kibana vis and tabs work fine with the auth and Nginx settings the way they are. The problem appears to be restricted to Visual Builder.
I've also tested this is an auth issue with Visual Builder by removing the auth section from Nginx. At this point Visual Builder behaves normally with no errors.
Provide logs and/or server output (if relevant): Kibana log:
Nginx logs (note no username):
Kibana config:
Nginx proxy/auth fragment:
The text was updated successfully, but these errors were encountered: