I have Apache log files which include the HTTP_REFERER. I would like to analyse the flow of pages which were done by the user.

In detail the question is: I have log-file line X. Which log-file line is the correspoding previous line?

I would like to avoid to use regex myself, since I think this was solved by more intelligent developers before.

Is there a library or tool which helps here?

Required features:

  • open source
  • runs on Linux
  • somehow scriptable via Python
  • If no library or Python but a tool, on what OS should it run? Visitors should at least partially fit your needs. A Debian package can be found in my repository. Would that make an acceptable answer? Then let me know and I'll elaborate :) – Izzy Apr 20 '18 at 12:08
  • @Izzy I wrote "runs on Linux" did you not read it, or do you mean something else with "on what Os should it run"? – guettli Apr 20 '18 at 14:35
  • 1
    Ouch, blindness – sorry, my bad. Then visitors definitely should be worth a try :) If it's a Debian based system, you can find a 64bit package on my site, as I wrote. – Izzy Apr 20 '18 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.