IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Env Provider
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Env Provider
editProvides access to the environment variables as key-value pairs.
For example, set the variable foo
:
foo=bar elastic-agent run
The environment variable can be referenced as ${env.foo}
.