Home Dashboard Directory Help
Search

New-WinEvent performance considerably slower than Write-EventLog by Naadir Jeewa at Home


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 799995
Opened: 9/9/2013 3:23:11 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

Running sample code at https://github.com/randomvariable/logstash-windows-eventlog/blob/master/logstash/test/Test-EventLogFast.ps1 results in around 1500-1900 events generated per second.

Replacing the use of the legacy Event Logging with New-WinEvent leads to events being generated no faster than 20 per second.

Test done on a circa 2011 Core i5.

Details
Sign in to post a comment.
Sign in to post a workaround.