APM settings in Kibana
These settings allow the APM app to function, and specify the data that it surfaces. Unless you've customized your setup, you do not need to configure any settings to use the APM app. It is enabled by default.
APM indices
The APM app uses data views to query APM indices. To change the default APM indices that the APM app queries, open the APM app and select Settings > Indices. Index settings in the APM app take precedence over those set in kibana.yml.
APM indices are Kibana space-aware; changes to APM index settings will only apply to the currently enabled space.
General APM settings
If you'd like to change any of the default values, copy and paste the relevant settings into your kibana.yml configuration file. Changing these settings may disable features of the APM App.
- xpack.apm.maxSuggestions
-
Supported on:
Maximum number of suggestions fetched in autocomplete selection boxes.
Datatype:
intDefault:
100 - xpack.apm.serviceMapFingerprintBucketSize
-
Supported on:
Maximum number of unique transaction combinations sampled for generating service map focused on a specific service.
Datatype:
intDefault:
100 - xpack.apm.serviceMapFingerprintGlobalBucketSize
-
Supported on:
Maximum number of unique transaction combinations sampled for generating the global service map.
Datatype:
intDefault:
100 - xpack.apm.serviceMapEnabled
-
Supported on:
Set to
falseto disable service maps.Datatype:
boolDefault:
true - xpack.apm.serviceMapTraceIdBucketSize
-
Supported on:
Maximum number of trace IDs sampled for generating service map focused on a specific service.
Datatype:
intDefault:
65 - xpack.apm.serviceMapTraceIdGlobalBucketSize
-
Supported on:
Maximum number of trace IDs sampled for generating the global service map.
Datatype:
intDefault:
6 - xpack.apm.serviceMapMaxTracesPerRequest
-
Supported on:
Maximum number of traces per request for generating the global service map.
Datatype:
intDefault:
50 - xpack.apm.ui.enabled
-
Supported on:
Set to
falseto hide the APM app from the main menu.Datatype:
boolDefault:
true - xpack.apm.ui.maxTraceItems
-
Supported on:
Maximum number of child items displayed when viewing trace details.
Datatype:
intDefault:
5000 - xpack.observability.annotations.index
-
Supported on:
Index name where Observability annotations are stored.
Datatype:
stringDefault:
observability-annotations - xpack.apm.metricsInterval
-
Supported on:
Sets a
fixed_intervalfor date histograms in metrics aggregations.Datatype:
intDefault:
30 - xpack.apm.agent.migrations.enabled
-
Supported on:
Set to
falseto disable cloud APM migrations.Datatype:
boolDefault:
true - xpack.apm.indices.error
-
Supported on:
Matcher for all error indices.
Datatype:
stringDefault:
logs-apm*,apm-*,traces-*.otel-* - xpack.apm.indices.onboarding
-
Supported on:
Matcher for all onboarding indices.
Datatype:
stringDefault:
apm-* - xpack.apm.indices.span
-
Supported on:
Matcher for all span indices.
Datatype:
stringDefault:
traces-apm*,apm-*,traces-*.otel-* - xpack.apm.indices.transaction
-
Supported on:
Matcher for all transaction indices.
Datatype:
stringDefault:
traces-apm*,apm-*,traces-*.otel-* - xpack.apm.indices.metric
-
Supported on:
Matcher for all metrics indices.
Datatype:
stringDefault:
metrics-apm*,apm-*,metrics-*.otel-* - xpack.apm.indices.sourcemap
-
Supported on:
Matcher for all source map indices.
Datatype:
stringDefault:
apm-* - xpack.apm.autoCreateApmDataView
-
Supported on:
Set to
falseto disable the automatic creation of the APM data view when the APM app is opened.Datatype:
boolDefault:
true - xpack.apm.latestAgentVersionsUrl
-
Supported on:
Specifies the URL of a self hosted file that contains latest agent versions. Set to
''to disable requesting latest agent versions.Datatype:
stringDefault:
https://apm-agent-versions.elastic.co/versions.json