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

SSL docs should mention modules and show an example config #6054

Closed
dedemorton opened this issue Jan 11, 2018 · 2 comments
Closed

SSL docs should mention modules and show an example config #6054

dedemorton opened this issue Jan 11, 2018 · 2 comments
Labels

Comments

@dedemorton
Copy link
Contributor

dedemorton commented Jan 11, 2018

Currently the documentation about SSL does not mention modules or show an example of how to specify SSL settings when you are using modules, so it's hard for users to know where to define the SSL settings in their module configs.

Here's a Kubernetes module example (I haven't verified that this config works, but it was used as an example in a discussion about this doc issue.)

metricbeat.modules:
# Node metrics, from kubelet:
- module: kubernetes
  metricsets:
    - node
    - system
    - pod
    - container
    - volume
  period: 10s
  hosts: ["localhost:10255"]
  ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
  ssl.certificate: "/etc/pki/client/cert.pem"
  ssl.key: "/etc/pki/client/cert.key"
@dedemorton
Copy link
Contributor Author

Looks like Robin has already updated the Kubernetes doc here, but I think we will still want a more general statement about module configs.

@dedemorton
Copy link
Contributor Author

Closing because this issue was fixed quite awhile ago in #7967

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant