Winlogbeat (Windows)
Configuration of log shipper 'Winlogbeat'
This section explains how you can configure 'Winlogbeat' like a log shipper.
In order for winlogbeat component from the Windows environment to send the log details to the event gateway, users have to configure two elements.
Event Gateway Endpoint
Winlogbeat configuration
Step 1:
An example Event Gateway Endpoint configuration is captured in the below configuration snippet
Gateway Endpoint:
endpoints:
- name: winlog_01 # URL is implicit, http://ip:port/winlogs
type: filebeat
stream: winlogbeat
ssl: false
enabled: true
xpack_features: min
attrs:
site_code: win-dc
port: 8508
An example windows based winlogbeat configuration is captured in the below configuration snippet.
Update winlogbeat.yaml file with elastic search details as event gateway IP address:
Step 2:
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["http://eventgatewayip:8508/winlogs"]
#Example configuration
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["http://10.95.122.185:8508/winlogs"]
Step 3:
Restart winlogbeat services from Powershell from the winlogbeat installed path
stop-service winlogbeat
start-service winlogbeat
Last updated