-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Sending logs to Loki - how to basic auth #2735
Comments
Same problem, it is last step before to perfect use Loki in production. And also support tls is not be superflous) |
I am also having this issue when trying to use the plugin to send to grafana cloud via their endpoint of:
I get the following:
|
Same issue for us, it is preventing us from using the loki output plugin in production with grafana cloud. As far as I see, the underlying flb_http_client already supports basic auth + HTTPs scheme, so it might be a fairly easy fix. |
Fluent Bit works like a charm but I need support for basic auth and https to use grafana cloud, too. A fix would be perfect! |
Thanks everyone for raising this issue. I've pushed fix d59f1ba to add HTTP Basic Auth. The new options are called The enhancement will be part of the next release today. |
Bug Report
Describe the bug
We did not find a way to specify username and password for Loki endpoint requiring basic auth.
Using the form
https://username:password@host/url
does not work.Expected behavior
Either support the
https://username:password@host/url
url pattern or provide configuration parameters for basic auth.The text was updated successfully, but these errors were encountered: