The elastic-agent.yml
policy file contains all of the settings that determine how {agent} runs. The most important and commonly used settings are described here, including input and output options, providers used for variables and conditional output, security settings, logging options, enabling of special features, and specifications for {agent} upgrades.
An elastic-agent.yml
file is modular: You can combine input, output, and all other settings to enable the {integrations-docs}[{integrations}] to use with {agent}. Refer to Create a standalone {agent} policy for the steps to download the settings to use as a starting point, and then refer to the following examples to learn about the available settings:
The following categories include the most common settings used to configure standalone {agent}. Follow each link for more detail and examples.
- Inputs
-
Specify how {agent} locates and processes input data.
- Providers
-
Specify the key-value pairs used for variable substitution and conditionals in {agent} output.
- Outputs
-
Specify where {agent} sends data.
- SSL/TLS
-
Configure SSL including SSL protocols and settings for certificates and keys.
- Logging
-
Configure the {agent} logging output.
- Feature flags
-
Configure any experiemental features in {agent}. These are disabled by default.
- Agent download
-
Specify the location of required artifacts and other settings used for {agent} upgrades.