From ccee24b16eb493e45be467f07b1ac07da93fbabb Mon Sep 17 00:00:00 2001 From: Peter Brachwitz Date: Thu, 2 Jul 2020 12:06:26 +0200 Subject: [PATCH] Add a doc section about APM Agent configuration management (#3350) Add a doc section about APM Agent configuration management Co-authored-by: Charith Ellawala <52399125+charith-elastic@users.noreply.github.com> Co-authored-by: alaudazzi <46651782+alaudazzi@users.noreply.github.com> --- .../apm-server.asciidoc | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/orchestrating-elastic-stack-applications/apm-server.asciidoc b/docs/orchestrating-elastic-stack-applications/apm-server.asciidoc index f5e834ab18..12b2aea408 100644 --- a/docs/orchestrating-elastic-stack-applications/apm-server.asciidoc +++ b/docs/orchestrating-elastic-stack-applications/apm-server.asciidoc @@ -75,6 +75,28 @@ apm-server-quickstart-apm-server-69b447ddc5-fflc6 1/1 Running 0 [id="{p}-apm-advanced-configuration"] == Advanced configuration +[id="{p}-apm-agent-central-configuration"] +=== Use APM Agent central configuration +link:https://www.elastic.co/guide/en/kibana/current/agent-configuration.html[APM Agent configuration management] added:[7.5.1] allows you to configure your APM Agents centrally from within the Kibana APM app. To use this feature, the APM Server needs to be configured with connection details of the Kibana instance. If Kibana is managed by ECK, you can simply add a `kibanaRef` attribute to the APM Server specification: + +[source,yaml,subs="attributes,+macros"] +---- +cat $$<<$$EOF | kubectl apply -f - +apiVersion: apm.k8s.elastic.co/{eck_crd_version} +kind: ApmServer +metadata: + name: apm-server-quickstart + namespace: default +spec: + version: {version} + count: 1 + elasticsearchRef: + name: quickstart + kibanaRef: + name: quickstart +EOF +---- + [id="{p}-apm-customize-configuration"] === Customize the APM Server configuration