Add an integration to an Elastic Agent policy
editAdd an integration to an Elastic Agent policy
editAn Elastic Agent policy consists of one or more integrations that are applied to the agents enrolled in that policy. To add a new integration to one or more Elastic Agent policies:
- In Kibana, go to the Integrations page.
- The Integrations page shows Elastic Agent integrations along with other types, such as Beats. Scroll down and select Elastic Agent only to view only integrations that work with Elastic Agent.
- Search for and select an integration. You can select a category to narrow your search.
- Click Add <integration>.
- You can opt to install an Elastic Agent if you haven’t already, or choose Add integration only to proceed.
- In Step 1 on the Add <integration> page, you can select the configuration settings specific to the integration.
-
In Step 2 on the page, you have two options:
- If you’d like to create a new policy for your Elastic Agents, on the New hosts tab specify a name for the new agent policy and choose whether or not to collect system logs and metrics. Collecting logs and metrics will add the System integration to the new agent policy.
- If you already have an Elastic Agent policy created, on the Existing hosts tab use the drop-down menu to specify one or more agent policies that you’d like to add the integration to.
- Click Save and continue to confirm your settings.
This action installs the integration (if it’s not already installed) and adds it to the Elastic Agent policies that you specified. Fleet distributes the new integration policy to all Elastic Agents that are enrolled in the agent policies.
You can update the settings for an installed integration at any time:
- In Kibana, go to the Integrations page.
- On the Integration policies tab, for the integration that you like to update open the Actions menu and select Edit integration.
-
On the Edit <integration> page you can update any configuration settings and also update the list of Elastic Agent polices to which the integration is added.
If you clear the Agent policies field, the integration will be removed from any Elastic Agent policies to which it had been added.
To identify any integrations that have been "orphaned", that is, not associated with any Elastic Agent policies, check the Agent polices column on the Integration policies tab. Any integrations that are installed but not associated with an Elastic Agent policy are as labeled as
No agent policies
.
If you haven’t deployed any Elastic Agents yet or set up agent policies, start with one of our quick start guides: