To load the dashboards, you can either enable dashboard loading in the
setup.dashboards section of the apm-server.yml config file, or you can
run the setup command. Dashboard loading is disabled by default.

When dashboard loading is enabled, APM Server uses the Kibana API to load the
sample dashboards. Dashboard loading is only attempted when APM Server starts up.
If Kibana is not available at startup, APM Server will stop with an error.

To enable dashboard loading, add the following setting to the config file:

In case the archive contains the dashboards for multiple Beats, this setting
lets you select the Beat for which you want to load dashboards. To load all the
dashboards in the archive, set this option to an empty string. The default is
"apm-server".