Challenge
When submitting a support case for technical assistance, it is sometimes necessary to upload relevant Windows event logs in addition to the Veeam logs. Event logs exported using default settings can be missing important information. This article describes three different methods of exporting Windows event logs and which logs tend to be most useful for certain types of support cases.Solution
Below are the three common methods a Veeam Support Engineer may request you gather event logs for them. If they have specified a specific method, please use the requested method.──────────────────────────────────────────────────────────
Method 1: Export EVTX with Display Information (MetaData)
──────────────────────────────────────────────────────────
An .evtx file alone does not contain the text of most events, so uploading an .evtx file without the associated Display Information can delay resolution of your support case. Even with the display information, an .evtx contains only the UTC time of the events and not the source time zone (Event viewer adjusts the displayed time to your local time zone).
Steps to Export .evtx with Display Information
- Open Event Viewer (eventvwr.msc).
- Locate the log to be exported in the left-hand column.
- Right-click the name of the log and select Save All Events As…
- Enter a file name that includes the log type and the server it was exported from.
For example, when exporting the Application event log from server named HV01, enter Application_HV01. - In Save as type, select Event Files.
- Include display information.
7. Be sure to include the LocaleMetaData folder when packaging logs for upload.
Please package all files into a single .zip archive. For information on uploading files to Support, see: Steps to Compile Logs
To export and then archive an event log from the command line, see: Archive an Event Log
──────────────────────────────────────────────────────────
Method 2: Export as CSV
──────────────────────────────────────────────────────────
- Open Event Viewer (eventvwr.msc).
- Locate the log to be exported in the left-hand column.
- Right-click the name of the log and select Save All Events As…
- Enter a file name that includes the log type and the server it was exported from.
For example, when exporting the Application event log from server named HV01, enter Application_HV01. - In Save as type, select CSV (Comma Separated).
Please package all files into a single .zip archive. For information on uploading files to Support, see: Steps to Compile Logs
To export and then archive an event log from the command line, see: Archive an Event Log
──────────────────────────────────────────────────────────
Method 3: Collect entire log folder from Windows.
──────────────────────────────────────────────────────────
- Navigate to C:\Windows\System32\winevt\Logs
- Archive (ZIP\7z\RAR) the entire contents of the Logs folder.
Please package all files into a single .zip archive. For information on uploading files to Support, see: Steps to Compile Logs
To export and then archive an event log from the command line, see: Archive an Event Log
──────────────────────────────────────────────────────────
Which Logs to Export
──────────────────────────────────────────────────────────
Veeam Support will request logs as needed, but you can speed up resolution of a new case by checking to see if it falls into one of the categories below and uploading appropriate event logs during case creation.
• For Hyper-V Snapshot (Shadow Copy) Failures
──────────────────────────────
Export the following event logs from the standalone Hyper-V host or from all cluster nodes:
○Windows Logs > System
○Windows Logs > Application
○Applications and Services Logs>Microsoft>Hyper-V-VMMS>Admin
If Application-Aware Image Processing is enabled in the Backup or Replication job settings, test whether the failure occurs with that setting disabled.
If the problem occurs only when Application-Aware is enabled, export the Hyper-V-Integration log from the Hyper-V host managing the VM, then see Guest Processing Issues below.
○Applications and Services Logs>Microsoft>Hyper-V-Integration>Admin
• For Guest Processing Issues
──────────────────────────────
Note: For “Guest Processing Skipped” see KB1855.
Common examples include failure to truncate Exchange or SQL transaction logs, “VSSControl” error codes, and unexpected behavior occuring with the VM guest OS during backup.
Export these logs from the affected VM guest OS:
○Windows Logs > System
○Windows Logs > Application
You will typically also want to collect the Veeam VSS logs from the VM – see KB1789.
• For Problems with Backup Infrastructure Servers
──────────────────────────────
In all scenarios below, export the following from the appropriate server. When in doubt, export from the Veeam Backup server:
○Windows Logs > System
○Windows Logs > Application
If the error message is:
○“task failed unexpectedly” - Export events from the Veeam Backup server.
○referring to backup files on a Windows server - Export events from the repository server.
○referring to backup files on a CIFS/SMB share - Export events from the gateway server, or from the Veeam Backup server and all proxies if no gateway was specified in the repository settings.