When the Universal Forwarder (UF) is configured to collect Windows Security Event Logs, older events are ingested even if the following parameter is present:
ignoreOlderThan = <value>
This occurs because Windows Event Logs are read through the Windows Event Log API, which does not allow evaluating event age before the event is processed. The ignoreOlderThan parameter applies only to file-based inputs, so it cannot prevent older Windows Event Logs from being forwarded. Only alternative methods can be used to control or prevent ingestion of older Security Event Log entries.
[WinEventLog://Security]
ignoreOlderThan = 1d
Since ignoreOlderThan is not supported for Windows Event Log inputs, alternative approaches must be used to prevent or manage the ingestion of older events.
Example transforms.conf
[drop-old-events]
REGEX = <pattern to match old timestamps>
DEST_KEY = queue
FORMAT = nullQueue
Example props.conf
[WinEventLog:Security]
TRANSFORMS-drop-old = drop-old-events
This method stops older events from being indexed, but it does not prevent them from being forwarded.
Why These Are the Available Approaches:
-> The UF cannot inspect an event's timestamp until after reading it.
-> The Windows Event Log API streams all past events without age metadata.
-> ignoreOlderThan requires file modification time, which does not exist for Windows Event Logs.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |