There are numurous libraries to do this kind of analysis, although I could find none in R. A google for parse apache logfile
yielded a library in Perl, and python parse apache logfile
yields the Scratchy library. Both rely on regular expressions to parse the contents of the file.
From here there are two ways to deal with the apache logfile:
- Call perl or python from R, either using a direct link, or using a system call (this is simpler).
- Take the idea from the perl or python lib and use it to implement R versions of the functions. This will take a lot of time.
You refer to a csv file, but I think the libraries above work with the original text file with the Apache log, so I'd use those, and not your csv file.
In addition, this SO post mentions an answer by @doug (profile) where he states that he has created some functions to create visualizations of apache logfile data, parsed by Python. Maybe you could send him a message or mail and see if he is willing to share the code.