Deploying Elastic Agent with Fleet
In this recipe, we’re going to deploy a Fleet-managed Elastic Agent on a VM. Fleet is a UI application in Kibana for centrally managing Elastic Agent (for example, enrolling, monitoring, and upgrading). To achieve this, we’ll create a set of configurations and rules that govern how the agent behaves and operates – called a policy – and assign the Elastic Agent to it. By the end of the recipe, you will have a running Elastic Agent sending logs and metrics data from the system.
Getting ready
On the Elastic Stack side, make sure your Elastic deployment with Elasticsearch, Kibana, and Fleet Server is up and running and that you have access to Kibana with the elastic user.
Important note
If you want to try out this recipe with a self-managed deployment, please ensure you have completed the steps described in the Installing self-managed Elastic Stack and Creating and setting up Fleet server recipes in Chapter 1. Remember...