Windows Event Log¶
Overview¶
This Adapter allows you to connect to the local Windows Event Logs API on Windows. This means this Adapter is only available from Windows builds and only works locally (will not connect to remote Windows instances).
Configurations¶
Adapter Type: wel
client_options: common configuration for adapter as defined here.evt_sources: a comma separated list of elements in the formatSOURCE:FILTER, whereSOURCEis an Event Source name likeApplication,SystemorSecurityandFILTERis anXPathfilter value as described in the documentation linked below.write_timeout_sec: number of seconds before a write to LimaCharlie times out (default: 600).
Configuration File Example¶
# Basic Event Sources:
# evt_sources: "Security,System,Application"
# With XPath Filters:
# evt_sources: "Security:'*[System[(Level=1 or Level=2 or Level=3)]]',System:'*[System[Provider[@Name=\"Microsoft-Windows-Kernel-General\"]]]'"
# File-Based Sources:
# evt_sources: "C:\\Windows\\System32\\winevt\\Logs\\Security.evtx:'*[System[(EventID=4624)]]'"
wel:
evt_sources: "Security:'*[System[(Level=1 or Level=2 or Level=3)]]',System,Application"
client_options:
identity:
oid: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
installation_key: "YOUR_LC_INSTALLATION_KEY_WEL"
hostname: "prod-dc01.example.local"
platform: "wel"
sensor_seed_key: "wel-collector"
write_timeout_sec: 30
XPath Filter Examples¶
Security Events (High Priority):
Logon Events Only:
System Errors:
Specific Provider:
API Doc¶
See the official documentation.