MSFN Forum: How can I export windows event logs with verbose messages - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How can I export windows event logs with verbose messages

#1 User is offline   perlabsrat 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 28-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 July 2012 - 12:11 PM

Hello,


I have been searching the web and cannot seem to find a good answer on this. I sort of understand the cause but need some help on the solution.
I use the following command to export windows system logs. I want/need them to be in evtx format for later use.

wevtutil epl system c:\SystemEvents.evtx


The goal is to send them to other people which will not be viewing them on the same server. This of course cause the full event text to not be part of the exported log and the user will see something like this:

    The description for Event ID XXX from source Server Administrator cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:


I was reading this page: http://technet.micro...28WS.10%29.aspx

and found this snip of info in it:

Quote

To troubleshoot events that were logged on a remote computer, you must export and archive the log with the display information. The display information for the saved events is stored in the LocaleMetaData folder and should be moved with the log information when the information is viewed on another computer.



I do not understand what location (or process) this statement is referring to. There is no LocaleMetaData folder anywhere on the server so I am assuming that I need to somehow create and export some additional data along with the evtx file for it to then re-merge back on the viewing system.
Am I on the right track here and could someone tell me how to fully export the event log this with will full verbose messages?

Thanks.


#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 19 July 2012 - 01:08 PM

When you use this:

wevtutil al <FileName.evtx> [/l:<LocaleString>]

to export... the location of where the .evtx folder ends up, there will be a LocaleMetaData folder created with the .MTA file inside.

#3 User is offline   perlabsrat 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 28-November 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 July 2012 - 08:45 AM

Using

wevtutil al <FileName.evtx> 


worked for me. One thing I did not understand was the syntax of the [/l:<LocaleString>]
I tried using:

/l:409  /l:1033 and /l:en-us



Since it worked without the need to specify that switch I am ok now but i am courious what the syntax of this switch is supposed to be..

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy