Unzip the downloaded file and navigate to the extracted location, as follows:
E:> cd E:filebeat-7.0.0-windows-x86_64
To install Filebeat as a service on Windows, refer to the following steps:
- Open Windows PowerShell as an administrator and navigate to the extracted location.
- Run the following commands from the PowerShell prompt to install Filebeat as a Windows service:
PS >cd E:filebeat-7.0.0-windows-x86_64
PS E:filebeat-7.0.0-windows-x86_64>.install-service-filebeat.ps1
In the event script execution is disabled on your system, you will have to set the execution policy for the current session:
PowerShell.exe -ExecutionPolicy UnRestricted -File .install-service-filebeat.ps1