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?
- open source
- runs on Linux
- somehow scriptable via Python