Configuring Winlogbeat
Winlogbeat is an open source tool that runs as a Windows service and is in charge of sending Windows logs to an Elasticsearch or Logstash instance.
Let's go ahead and configure this tool:
- Download the Winlogbeat official package from the following URL: https://www.elastic.co/downloads/beats/winlogbeat. Unzip it and move the folder to
C:\Program Files\
. Rename the folder toWinlogbeat
. - Open PowerShell as Administrator and run the following commands:
cd C:\Users\Administrator cd 'C:\Program Files\Winlogbeat' .\install-service-winlogbeat.ps1
- If you get an execution policy error, run the following command and select A when prompted:
Set-ExecutionPolicy Unrestricted
You will get the following output:
- Once installed, open Notepad as Administrator to edit the
winlogbeat.yml
configuration file inC:\Program Files\Winlogbeat
: - Scroll to the Outputs...