Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

parse a log file...

843789Sep 11 2009 — edited Nov 5 2009
Hi All,

1. I want to parse the content of log file, but when I open the log file it does not show me field names .
it starts with row containing the contents directly, where i want to read and process only three fields randomly.
I have written the code that works on IIS logs, the log i want to parse having field separator ' ' as single white space.

2. Some of log files are zipped, so I am unable to open and read them. so that I can parse them.

can any one have any clue or code that help me out.


thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2009
Added on Sep 11 2009
13 comments
551 views