Installation layoutedit

View the installation layout and default paths for both Fleet-managed APM Server and the APM Server binary.

Fleet-managededit

Elastic Agent files are installed in the following locations. You cannot override these installation paths because they are required for upgrades.

/Library/Elastic/Agent/*
Elastic Agent program files
/Library/Elastic/Agent/elastic-agent.yml
Main Elastic Agent configuration
/Library/Elastic/Agent/fleet.enc
Main Elastic Agent Fleet encrypted configuration
/Library/Elastic/Agent/data/elastic-agent-*/logs/elastic-agent-json.log
Log files for Elastic Agent[1]
/Library/Elastic/Agent/data/elastic-agent-*/logs/default/*-json.log
Log files for Beats shippers[1]
/usr/bin/elastic-agent
Shell wrapper installed into PATH

APM Server binaryedit

APM Server uses the following default paths unless you explicitly change them.

Type Description Location

home

Home of the APM Server installation.

/usr/share/apm-server

bin

The location for the binary files.

/usr/share/apm-server

config

The location for configuration files.

/usr/share/apm-server

data

The location for persistent data files.

/usr/share/apm-server/data

logs

The location for the logs created by APM Server.

/usr/share/apm-server/logs

[1] Logs file names end with a date and optional number: log-date.ndjson, log-date-1.ndjson, and so on as new files are created during rotation.