Add Elastic APM integration manually

Hassan_Malabeh
Thu, 22 Dec 2022 08:16:04 +0000
APM

I've created a docker-compose file with some configurations that deploy Elasticsearch, Kibana, Elastic Agent all version 8.7.0.
where in the Kibana configuration files I define the police I needed under xpack.fleet.agentPolicies, with single command all my environment goes up and all component connect successfully, the only issue is there is one manual step, which is I had to go to Kibana -> Observability -> APM -> Add Elastic APM and then fill the Server configuration.

I want to automate this and manage this from the configuration files, I don't want to do it from the UI.

What is the way to do this? in which component? what is the path the configuration should be at?

2 posts - 2 participants