Hi All ,
After editing apm.yml in elastic apm, we get the following error.
We get the error in the index line.
output.Elasticsearch:
hosts: ["https://10.0.0.12:9200", "https://10.0.0.13:9200", "https://10.0.0.14:9200", "https://10.0.0.15:9200", "https://10.0.0.16:9200"]
indices:
- index: "apm-%{[observer.version]}-error-%{+yyyy.MM.dd}"
when.contains:
processor.event: "error"
enabled: true
api_key: "paVeH4EBgtb9GXBaTD4t:FRDQikP5TkCf6bhf8afePw"
ssl.enabled: true
ssl.verification_mode: certificate
ssl.certificate_authorities: ["/etc/apm-server/certs/ca.crt"]
bulk_max_size: 1000
apm-server test output --v DEBUG
Error initializing beat: error loading config file: yaml: line 47: did not find expected key
Can you help on the subject?
Thanks.