Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Event viewer log files save as XML' saves only 305 records

I have 1450 event logs in my event viewer.

When I filter it using dates, say from Aug 25 2014 to Aug 31 2014, it gets reduced to 774. When I try to save the log files as XML by selecting the 'Save event file as' and then selecting XML as file type, it saves only the last 305 records.

When I save it as csv, I can see all 774 events saved. When I try to save the complete list of 1450 as XML it saves all logs. The problem only occurs when a date filter is applied.

Any ideas?

like image 474
Tony Thomas Avatar asked Sep 02 '14 02:09

Tony Thomas


People also ask

What are the 3 types of logs available through the Event Viewer?

Types of Event Logs They are Information, Warning, Error, Success Audit (Security Log) and Failure Audit (Security Log).

How do I get old logs in Event Viewer?

The events are stored by default in "C:\Windows\System32\winevt\Logs" (. evt, . evtx files) . If you can locate them, you can simply open them in the Event Viewer application.


1 Answers

There's a funny workaround:

  1. Save All Events As... and save to .evtx
  2. Open saved file
  3. Save All Events As... and save to .csv / .xml ...

(source) At least, this works for me on Windows 10 x64 version 1709.

The issue itself is clearly a bug, you can vote for them to fix it on the Feedback Hub: for normal users, for insiders.

like image 161
Igor Avatar answered Oct 24 '22 02:10

Igor