IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Command line options
editCommand line options
editThis functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
This experimental release allows you to try out new capabilities. There is no migration path for future releases. You must test in a dedicated cluster. Delete the cluster when you are done. You will not be able to upgrade the cluster.
The elastic-agent run
command provides flags that alter the behavior of an
agent:
-
-path.home
-
The home directory of the Elastic Agent.
path.home
determines the location of the configuration files and data directory. -
-c
-
The configuration file to load. If not specified, Elastic Agent uses
{path.home}/elastic-agent.yml
. -
-path.data
-
The data directory used by Elastic Agent to store downloaded artifacts. Also stores logs for any Beats started and managed by Elastic Agent.
If not specified, Elastic Agent uses
{path.home}/data
.