Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to split Web log file from a server so that it can compare IP address and last box details?

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Thanked 0 Times in 0 Posts

    Default How to split Web log file from a server so that it can compare IP address and last box details?

    I have a log file from a Web server with 120,000 lines. The data it contains are in the form:;14/Nov/201100:01:38;/media-f/irs?option=com_rsgallery2&page=inline&gid=2&limit= 1&Itemid=50;-;"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

    I need to somehow split it.
    Then compare the IP address and the last box that contains the version of the web browser.
    And so I identify the users.

    Do you have any idea how to do this?
    Which method to use?
    Last edited by Deep_4; November 7th, 2012 at 11:50 AM.

  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Washington, DC
    My Mood
    Thanked 632 Times in 540 Posts

    Default Re: Web log file

    This thread has been cross posted here:


    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. noClassDefFoundError trying to run JNLP file with Web Start
    By sonicjr in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 13th, 2012, 12:43 AM
  2. Replies: 5
    Last Post: March 2nd, 2012, 10:34 AM
  3. [SOLVED] Redirect command prompt output to log file.
    By goldest in forum File I/O & Other I/O Streams
    Replies: 9
    Last Post: November 24th, 2010, 04:26 AM
  4. how to transform an html file to a web site in java
    By nasi in forum Java Theory & Questions
    Replies: 9
    Last Post: March 28th, 2010, 11:06 PM
  5. Replies: 0
    Last Post: February 22nd, 2010, 12:21 AM