Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Reading windows event file like event viewer from windows/system32/config/AppEvent.evt

Reply
Thread Tools

Reading windows event file like event viewer from windows/system32/config/AppEvent.evt

 
 
veeru
Guest
Posts: n/a
 
      07-18-2007
hi ,any one can help ,me to solve my problem.
i m talking about reading AppEvent.evt SecEvent.evt SysEvent.evt files
which basically resides in C:\WINDOWS\system32\config folder of
windows xp.if we want to open that files and our computer is on n/w
than some services used all three files and i m not able to open that
files manually.if i want to read that files than i have two options
either read by event viewer or copy this file and to another place and
open it in vc++.
i have to read or parse that file by writing a pure java parser
without using any dll bcz that files runs under linux there is another
option to use so(shared object files working as a dll in linux) but i
don't want to depend on dll and so files.
one another way microsoft ;log parser but i m not sure that it
will run on linux or not ,simply i want to write independent java
program using only java based open source api
so plz give me a best approach to read or parse this event files when
they r locked by another applications or services.

this is the link which help u to understand windows event log format
and it has links of sample program written in vc++,c#,asp.net,c+
+,php .

http://www.whitehats.ca/main/members...eventlogs.html

i follow the php program approach but i got only source name,computer
name,description but not able to parse this things individually and i
also need date,event id,event type.

then i got another code from code project site,which has functionality
to read event logs it is using log4j to read this event files.and
display ti on swing interface but i want only a simple program which
did only reading or parsing event log files.

http://www.codeproject.com/csharp/tracetool.asp

 
Reply With Quote
 
 
 
 
Lew
Guest
Posts: n/a
 
      07-18-2007
veeru wrote:
> hi ,any one can help ,me to solve my problem.


They'd be more likely to help if you avoid multi-posting, that is, posting the
same message independently to different newsgroups. Your best strategy is to
pick one.

There is a FAQ for these two newsgroups (to which I've cross-posted your
multipost) that you might choose to read. mindprod.com also has an excellent
article on newsgroup netiquette that you had best choose to read.

--
Lew
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is an AVI Chunk Viewer? - AVI Chunk Viewer.jpg (0/1) mazdra76@yahooo.com Computer Support 1 03-17-2006 02:52 AM
Inzomia image viewer 3.06 - Free image viewer Fredrik Digital Photography 0 03-09-2006 09:08 PM
making WINDOWS PICTURE AND FAX VIEWER default viewer? aaronep@pacbell.net Digital Photography 1 09-16-2005 09:20 AM
text viewer for blackberry or java sources of text viewer jacksgoogle Java 0 05-11-2005 08:29 AM
Gallery Viewer viewer script Flynn Javascript 8 02-23-2004 05:39 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57