Skip to content

Instantly share code, notes, and snippets.

@vanga
Created September 8, 2022 14:56
Show Gist options
  • Save vanga/470c5a305c8c6b58f59b873875ea7562 to your computer and use it in GitHub Desktop.
Save vanga/470c5a305c8c6b58f59b873875ea7562 to your computer and use it in GitHub Desktop.
APM server configuration with auth and SSL certs
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