Created
September 8, 2022 14:56
-
-
Save vanga/470c5a305c8c6b58f59b873875ea7562 to your computer and use it in GitHub Desktop.
APM server configuration with auth and SSL certs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apm-server: | |
host: "0.0.0.0:8200" | |
auth: | |
secret_token: 'secret token generated using openssl or any other string' | |
ssl: | |
enabled: true | |
certificate: '/usr/share/apm-server/certs/elk.example.com/elk.example.com.crt' | |
key: '/usr/share/apm-server/certs/elk.example.com/elk.example.com.key' | |
output.elasticsearch: | |
hosts: ["localhost:9200"] | |
enabled: true | |
protocol: 'https' | |
username: 'elastic' | |
password: '<elasticsearch password>' | |
ssl.enabled: true | |
ssl.verification_mode: full | |
ssl.certificate_authorities: ['/usr/share/apm-server/certs/http_ca.crt'] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment