techguy21801 Posted January 11, 2007 Posted January 11, 2007 hi all, ok i need a easy i mean easy way for a user to export their event log and email to me, does anyone know of a program that can simply export the eventlog and email to me, or maybe something i can put into a webpage that would read the eventlog and save it as a text file?
ringfinger Posted January 11, 2007 Posted January 11, 2007 Dumpel which is part of the Windows Resource kit should work for you. Run it from command line and check out the syntax.
nitroshift Posted January 11, 2007 Posted January 11, 2007 Open up the event viewer, right click on the log you want to save, chose save as... .txt.
ringfinger Posted January 11, 2007 Posted January 11, 2007 Well... yah, I suppose that'd work too lol
cluberti Posted January 12, 2007 Posted January 12, 2007 This should work:@echo offecho Gathering System Event log in TXT Format...dumpel.exe -l system -f %COMPUTERNAME%_system.txtecho Gathering Security Event log in TXT Format...dumpel.exe -l security -f %COMPUTERNAME%_security.txtecho Gathering Application Event log in TXT Format...dumpel.exe -l application -f %COMPUTERNAME%_application.txtecho Gathering Event logs in EVT Format...dumpevt.exe %ComputerName%_ -s SecurityThat'll dump all of the logs usually found on a workstation to .txt and .evt files, named %COMPUTERNAME%_<logfiletype> for both .txt and .evt files. That way you can quickly look at the txt file for searching (or for parsing via vbscript ), or you can load the .evt file up the slow way and see around. The benefit of the .txt files is that it exports the events exactly as they are on the machine - an evt file will use the .dlls on the machine viewing the files to show the data, and if your .dll files are different than on the machine the logs were generated, you may get incorrect or missing data in a log entry.
allen2 Posted January 13, 2007 Posted January 13, 2007 I found out that Dumpel got many bugs so i use systemtools dumpevt which is much more customisable to export eventlogs in a lot of ways.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now