documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Explain how to create a Windows event log entry

Open mpfz0r opened this issue 7 years ago • 0 comments

Context

While setting up winlogbeat, it might be helpful to create event logs for testing purposes. At least for me, this wasn't straight forward, because Write-Eventlog is very picky with its options.

Expected Content

An example command that always works. E.g.:

Run this in the Windows Powershell: Write-Eventlog -Logname System -Source Server -EventId 4711 -Message "Here goes nothing"

mpfz0r avatar Sep 19 '18 09:09 mpfz0r