- Fleet and Elastic Agent Guide: other versions:
- Fleet and Elastic Agent overview
- Beats and Elastic Agent capabilities
- Quick starts
- Migrate from Beats to Elastic Agent
- Set up Fleet Server
- Install Elastic Agents
- Install Fleet-managed Elastic Agents
- Install standalone Elastic Agents (advanced users)
- Install Elastic Agents in a containerized environment
- Installation layout
- Air-gapped environments
- Use a proxy server with Elastic Agent and Fleet
- Uninstall Elastic Agents from edge hosts
- Start and stop Elastic Agents on edge hosts
- Elastic Agent configuration encryption
- Secure connections
- Manage Elastic Agents in Fleet
- Manage integrations
- Configure standalone Elastic Agents
- Command reference
- Troubleshoot
- Release notes
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Local dynamic provider
editLocal dynamic provider
editDefine multiple key-value pairs to generate multiple configurations.
For example, the following Elastic Agent policy defines a local dynamic provider that
defines three values for item
:
inputs: - type: logfile streams: - paths: "/var/${local_dynamic.my_var}/app.log" providers: local_dynamic: items: - vars: my_var: key1 - vars: my_var: key2 - vars: my_var: key3
The configuration generated by this policy looks like:
inputs: - type: logfile streams: - paths: "/var/key1/app.log" - type: logfile streams: - paths: "/var/key2/app.log" - type: logfile streams: - paths: "/var/key3/app.log"
Was this helpful?
Thank you for your feedback.