-
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
[Metricbeat] module HTTP server: Add TLS #11457
Comments
go net/http already have https. it is just a matter of adjusting it. Let me grab a coffee and play with this one :) |
@leopucci Take a look at beats/filebeat/inputsource/tcp/config.go Line 38 in dba0f7c
|
@andrewkroh HttpHelper already have it! Thanks for the tip! |
@andrewkroh, ListenAndServeTLS dos not acept certificate object, only certificate path... i will not be able to reuse config:ssl.... it was so beautiful |
How to use:
|
@andrewkroh any bugs that i can help today? nice work btw https://github.com/andrewkroh/gvm |
Describe the enhancement:
The Metricbeat module for HTTP server currently doesn't support TLS. This is less of an issue for connections on the same host, but to be able to collect data over the network this would be a good improvement.
Describe a specific use case for the enhancement or feature:
Logstash has an HTTP input that supports TLS. To be a lightweight alternative the Metricbeat module would need to add TLS, otherwise it's mainly useful on localhost. This started off from a discussion with @loekvangool.
The text was updated successfully, but these errors were encountered: