WARNING: Version 6.2 of APM Server has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Configuration fileedit
To configure APM Server, you can also update the apm-server.yml
configuration file.
For rpm and deb,
you’ll find the configuration file at /etc/apm-server/apm-server.yml
.
There’s also a full example configuration file at
/etc/apm-server/apm-server.reference.yml
that shows all non-deprecated
options. For mac and win, look in the archive that you extracted.
See the Beats Platform Reference for more about the structure of the config file.
apm-server: host: localhost:8200 output: elasticsearch: hosts: ElasticsearchAddress:9200
If you are using an X-Pack secured version of Elastic Stack, you need to specify credentials in the config file before you run the commands that set up and start APM Server. For example:
output.elasticsearch: hosts: ["ElasticsearchAddress:9200"] username: "elastic" password: "elastic"
If you plan to use the sample Kibana dashboards provided with APM Server, configure the Kibana endpoint:
setup.kibana: host: "localhost:5601"
Where host
is the hostname and port of the machine where Kibana is running,
for example, localhost:5601
.
If you specify a path after the port number, you need to include
the scheme and port: http://localhost:5601/path
.
See Configuring APM Server for more configuration options.