Skip to content
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

Document authentication/SSL support for http, jolokia and other metricbeats #4268

Closed
ppf2 opened this issue May 9, 2017 · 3 comments
Closed
Labels
docs good first issue Indicates a good issue for first-time contributors

Comments

@ppf2
Copy link
Member

ppf2 commented May 9, 2017

Metricbeat modules like http and jolokia actually already support authentication in the product today. This means that we have some stale documentation to update :)

@ppf2 ppf2 added the docs label May 9, 2017
@ppf2
Copy link
Member Author

ppf2 commented May 10, 2017

Example configuration for authentication in metricbeat modules.
Authentication info can be provided either directly in the URL, or as separate settings.

metricbeat.modules:
- module: x
  hosts: ['https://me:secret@localhost']
- module: x
  hosts: ['https://localhost']
  username: me
  password: secret

Example configuration for SSL in metricset modules:

metricbeat.modules:
- module: x
  hosts: ['https://me:secret@localhost']
  ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]

@exekias
Copy link
Contributor

exekias commented Jul 18, 2017

As a reference, these are the supported config params (under ssl): https://github.com/elastic/beats/blob/master/libbeat/outputs/tls.go#L30-L44

@exekias
Copy link
Contributor

exekias commented Aug 16, 2017

headers and timeout settings are also available: https://github.com/elastic/beats/blob/master/metricbeat/helper/http.go#L32

@tsg tsg added the good first issue Indicates a good issue for first-time contributors label Oct 12, 2017
@dedemorton dedemorton self-assigned this Nov 16, 2017
@dedemorton dedemorton removed their assignment Dec 9, 2017
@dedemorton dedemorton mentioned this issue Dec 9, 2017
37 tasks
tsg added a commit to tsg/beats that referenced this issue May 18, 2018
This adds commented out `username` and `password` settings to most
of the config places where they are supported (this part is manual).
Since those configs are included in the docs, they also show up there.

This also adds a line in the docs that link to "HTTP specific settings"
(this part is automatised during `make update`).

Completes elastic#4268 and closes elastic#6493.
exekias pushed a commit that referenced this issue May 23, 2018
This adds commented out `username` and `password` settings to most
of the config places where they are supported (this part is manual).
Since those configs are included in the docs, they also show up there.

This also adds a line in the docs that link to "HTTP specific settings"
(this part is automatised during `make update`).

Completes #4268 and closes #6493.
tsg added a commit to tsg/beats that referenced this issue Jun 14, 2018
This adds commented out `username` and `password` settings to most
of the config places where they are supported (this part is manual).
Since those configs are included in the docs, they also show up there.

This also adds a line in the docs that link to "HTTP specific settings"
(this part is automatised during `make update`).

Completes elastic#4268 and closes elastic#6493.

(cherry picked from commit 0a85fce)
jsoriano pushed a commit that referenced this issue Jun 26, 2018
… based modules (#7330)

Add commented out `username` and `password` settings to most
of the config places where they are supported (this part is manual).
Since those configs are included in the docs, they also show up there.

This also adds a line in the docs that link to "HTTP specific settings"
(this part is automatised during `make update`).

Completes #4268 and closes #6493.
leweafan pushed a commit to leweafan/beats that referenced this issue Apr 28, 2023
…or HTTP based modules (elastic#7330)

Add commented out `username` and `password` settings to most
of the config places where they are supported (this part is manual).
Since those configs are included in the docs, they also show up there.

This also adds a line in the docs that link to "HTTP specific settings"
(this part is automatised during `make update`).

Completes elastic#4268 and closes elastic#6493.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs good first issue Indicates a good issue for first-time contributors
Projects
None yet
Development

No branches or pull requests

5 participants