To prevent spam users, you can only join this forum by invitation. If you want to join the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return.
On June 4th, we noticed that many discussions were gone from the forum. To fix this, a backup of May 22nd has been restored. As a result, any addition from May 22nd to June 4th is now lost. Please add it again if necessary. Apologies for the inconvenience.
Converting Apache2 access log to MXML
  • veikokveikok
    Posts: 2
    Hello!

    I am trying to convert my Apache2 access log to MXML, but what ever date format I use, I get the same error:

       Import filter 'Apache 2' initialized.
       Filter import routine invoked in dedicated thread...
       Parsing file 'test3.log'...
    +++ERROR: ImportFilter 'Apache 2' has died during import routine.
    +++ERROR: Error message was:
    +++ERROR: Fatal error in class 'org.processmining.prim.filters.Apache'.
    Exception: java.text.ParseException: Unparseable date: "10/Oct/2000:13:55:36 -0700"
    +++ERROR: Fatal error in class 'org.processmining.prim.filters.Apache'.
    Exception: java.text.ParseException: Unparseable date: "10/Oct/2000:13:55:36 -0700"
    --- Original exception caught: ---
    java.text.ParseException: Unparseable date: "10/Oct/2000:13:55:36 -0700"
    Original stack trace:
    parse in java.text.DateFormat (null, line -1)
    retrieveLogs in org.processmining.prim.filters.Apache (Apache.java, line 105)
    run in org.processmining.prim.util.ImportFilterThread (ImportFilterThread.java, line 87)

       Duration: 3 milliseconds.

    For testing purposes I have only one line in my log file:

    127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326

    Can anybody guess, what the matter is?
    Post edited by veikok at 2011-01-24 07:02:40
  • JBuijsJBuijs
    Posts: 389
    What I could think of is that ProM Import the same date/time notation assumes in the Apache log as your current (Windows) date and time settings.
    You might want to change the Windows locale settings to display dates in the same format as in your Apache log.

    Let us know if this worked!
    Joos Buijs
    Forum Admin
  • veikokveikok
    Posts: 2
    It worked :) Thank you, Joos!
  • JBuijsJBuijs
    Posts: 389
    Thank you for letting us know.

    Happy mining!
    Joos Buijs
    Forum Admin
  • speedlsuspeedlsu
    Posts: 3
    i hope to know how you change date format and where you change format??

    plz!!!!!!!!!!!!!!!!!!!!!help me plz

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion