huikau / logstalgia

Automatically exported from code.google.com/p/logstalgia
0 stars 0 forks source link

sort on host #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi, 

first of all, thanks for the awsome logstalgia software!

i have the following problem (or better: challenge!).
i have a server that hosts multiple domains.
I have an access log with the last parameter beeing the hostname. (so for 
instance for a request on the the URL 
https://www.google.nl/search?q=logstalgia, the last parameter is google.nl)

I now have a different paddle for every unique value in this field.

I would like to know if it's possible to sort the requests according to the 
information in this last parameter, so that i wont have categories CSS, Script, 
Images and Misc but the categories that represent the different hostnames, with 
the files that are requested for this hostnames under each categorie. ( so in 
the example i would have a categorie "google.nl", where the request for 
/search?q=logstalgia is put below)

Is this possible? And if so, can you please point me in the right directory?

Original issue reported on code.google.com by the.ro...@gmail.com on 27 May 2013 at 2:29

GoogleCodeExporter commented 9 years ago
I don't believe this is possible at the moment.

You can however have a different paddle for each host using --paddle-mode vhost 
or --paddle-mode pid. The 'pid' mode (badly named) creates a different paddle 
based on the contents of the first non standard field after the rest of the log 
entry, so that may work for you.

The next version will add labels next to the paddles by default, so you can 
tell what they represent.

Original comment by acaudw...@gmail.com on 28 May 2013 at 3:36