Setting up your environment
In this section, we will explore the use of Elastic Agent and Fleet to easily onboard and manage how logs and metrics are collected from a sample application. To follow along with these examples, you will need access to the following:
- An Elastic Stack deployment with Fleet to ingest and consume the data you collect from the application. You can choose to use Elastic Cloud to satisfy this requirement or provision a standalone deployment on a virtual machine.
- A virtual machine to deploy your sample workload and an instance of Elastic Agent to collect data from.
Preparing your Elasticsearch deployment for Fleet
In Chapter 2, Installing and Running the Elastic Stack, we explored some of the options available for deploying Elasticsearch and Kibana. Fleet requires the use of API keys on Elasticsearch to authenticate and authorize the various agents that will be streaming data into Elasticsearch. As such, your Elasticsearch deployment needs...