Installation layout

edit

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.yml
Main Elastic Agent Fleet 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
/usr/bin/elastic-agent
Shell wrapper installed into PATH
[1] Log file names end with a number that includes a date: elastic-agent-json.log-20220503173131, elastic-agent-json.log-20220503173135, and so on as new files are created during rotation.