Step 2: Set up and configure
editStep 2: Set up and configure
editConfigure APM by editing the apm-server.yml
configuration file.
The location of this file varies by platform—see the Installation layout for help locating it.
A minimal configuration file might look like this:
apm-server: host: "localhost:8200" output.elasticsearch: hosts: ["localhost:9200"] username: "elastic" password: "changeme"
The |
|
The Elasticsearch |
|
This example uses basic authentication. The user provided here needs the privileges required to publish events to Elasticsearch. To create a dedicated user for this role, see Create a writer role. |
All available configuration options are outlined in configuring APM Server.