Install Elastic Agentedit

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.

This experimental release allows you to try out new capabilities. There is no migration path for future releases. You must test in a dedicated cluster. Delete the cluster when you are done. You will not be able to upgrade the cluster.

Download and install the Agent on each system you want to monitor.

To download and install Elastic Agent, use the commands that work with your system:

mac:

curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-7.8.1-darwin-x86_64.tar.gz
tar xzvf elastic-agent-7.8.1-darwin-x86_64.tar.gz

linux:

curl -L -O https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-7.8.1-linux-x86_64.tar.gz
tar xzvf elastic-agent-7.8.1-linux-x86_64.tar.gz

win:

  1. Download the Elastic Agent Windows zip file from the downloads page.
  2. Extract the contents of the zip file into C:\Program Files.
  3. Rename the elastic-agent-<version>-windows directory to Elastic-Agent.
  4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select Run As Administrator).
  5. From the PowerShell prompt, run the following commands to install Filebeat as a Windows service:

    PS > cd 'C:\Program Files\Elastic-Agent'
    PS C:\Program Files\Elastic-Agent> .\install-service-elastic-agent.ps1

If script execution is disabled on your system, you need to set the execution policy for the current session to allow the script to run. For example: PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-elastic-agent.ps1.