Installing Elastic Agent
On the Elastic VM, Elastic Agent is used to proxy Fleet policies to other enrolled agents. We'll get into Fleet in Chapter 6, Data Collection with Beats and Elastic Agent, and Elastic Agent in detail in almost every chapter later in the book.
Still on the command line, simply type the following:
$ sudo dnf install elastic-agent
$ sudo systemctl enable elastic-agent
This will install Elastic Agent and configure it to start on boot, but not start it yet. We will configure and start it later in this chapter.
Next, we need to move on to Kibana so that we can access Elasticsearch beyond via the API.