-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
HTTP-based metricbeat modules can no longer perform authentication #11351
Comments
Just tested with Metricbeat 6.7.0 (built from the |
Just tested with Metricbeat 7.0.0 (built from the |
Just tested with Metricbeat 7.1.0 (built from the |
I'd also bet this regresion is introduced by #11032, investigating it. @ycombinator could you try to reproduce this issue with 6.7.0 but setting a timeout? So the config is something like:
|
@ycombinator PR open to fix this #11353, good catch! |
After the refactor done in elastic#11032, baseData was not being passed to the HTTP helper, so authentication was not working. Added a test to avoid regressions here. Fix elastic#11351
After the refactor done in elastic#11032, baseData was not being passed to the HTTP helper, so authentication was not working. Added a test to avoid regressions here. Fix elastic#11351
master
/8.0.0
elastic
user to have password asabc123
.username
andpassword
settings in the Elasticsearch metricbeat module configuration.You will see a 401 Unauthorized error in the logs.
Looking at Wireshark, it looks like Metricbeat does not add the
Authorization
header, as one would expect it to with the above configuration:I did a similar test with the Kibana Metricbeat module and ended up with the same results: 401 error in the logs and Wireshark showing no
Authorization
header.The text was updated successfully, but these errors were encountered: