httee -- HTTP log file splitting utility.


httee [-RW] < -s number file | file ... >


The httee utility process each provided HTTP log file and copy each HTTP request line to an appropriate file in the current directory. The file name is based on the hostname of the HTTP request, with the www. prefix and the :port suffix stripped if they are found.

The special file "-" can be used to read input from stdin.

The options are as follows:

Do not read the saved number of lines to skip for reading file (see -W flag bellow).
Do not save the number of lines to skip on the next run of httee on file.
-s number
Skip the number first lines in file. Imply -R and -W.


Location where the number of proceeded lines in each file are stored.


The following 3 lines would produce 2 output files: (containing the first line) and (containing the 2 other lines): - [05/Mar/2007:18:22:34 +0100] "GET / HTTP/1.1" 200 274 "-" "-" - [31/Aug/2011:06:07:47 +0200] "GET / HTTP/1.1" 200 804 "-" "-" - [02/Aug/2012:22:50:34 +0200] "GET / HTTP/1.1" 200 4961 "-" "-"

Source Code

Fork me on GitHub!
% git clone git://