Directory layoutedit
The directory layout of an installation is as follows:
Type | Description | Default Location | Config Option |
---|---|---|---|
home |
Home of the APM Server installation. |
|
|
bin |
The location for the binary files. |
|
|
config |
The location for configuration files. |
|
|
data |
The location for persistent data files. |
|
|
logs |
The location for the logs created by APM Server. |
|
|
You can change these settings by using CLI flags or setting path options in the configuration file.
Default pathsedit
APM Server uses the following default paths unless you explicitly change them.
deb and rpmedit
Type | Description | Location |
---|---|---|
home |
Home of the APM Server installation. |
|
bin |
The location for the binary files. |
|
config |
The location for configuration files. |
|
data |
The location for persistent data files. |
|
logs |
The location for the logs created by APM Server. |
|
For the deb and rpm distributions, these paths are set in the init script or in
the systemd unit file. Make sure that you start the APM Server service by using
the preferred operating system method (init scripts or systemctl
).
Otherwise the paths might be set incorrectly.
dockeredit
Type | Description | Location |
---|---|---|
home |
Home of the APM Server installation. |
|
bin |
The location for the binary files. |
|
config |
The location for configuration files. |
|
data |
The location for persistent data files. |
|
logs |
The location for the logs created by APM Server. |
|
zip, tar.gz, or tgzedit
Type | Description | Location |
---|---|---|
home |
Home of the APM Server installation. |
|
bin |
The location for the binary files. |
|
config |
The location for configuration files. |
|
data |
The location for persistent data files. |
|
logs |
The location for the logs created by APM Server. |
|
For the zip, tar.gz, or tgz distributions, these paths are based on the location of the extracted binary file. This means that if you start APM Server with the following simple command, all paths are set correctly:
./apm-server
brewedit
Type | Description | Location |
---|---|---|
home |
Home of the APM Server installation. |
|
bin |
The location for the binary files. |
|
config |
The location for configuration files. |
|
data |
The location for persistent data files. |
|
logs |
The location for the logs created by APM Server. |
|