logstalgia: pong-like apache log viewer
October 5th, 2008 edited by TinchoArticle submitted by Andrew Caudwell
Logstalgia (inspired by glTail) is a website traffic visualization tool that replays or streams Apache access logs as a pong-like battle between the web server and an unrelenting army of requesting hosts. It is rendered using OpenGL, so you’ll need a 3D accelerated video card to run logstalgia.
Requests appear as colored balls (the same color as the host) which travel across the screen to arrive at the requested location. Successful requests are hit by the pong paddle while unsuccessful ones (such as 404s) are missed and pass through.
The paths of requests are summarized within the available space by identifying common path prefixes.
Related paths are grouped together under headings. For instance, by default paths ending in png, gif or jpg are grouped under the heading Images. Paths that don’t match any of the specified groups are lumped together under a Miscellaneous section. Groups can be customized to the page layout of your website fom the command line by specifying a heading, an associated regular expression and a screen percentage.
The simulation can be paused at any time by pressing space. While paused, individual requests can be inspected by passing over them with the mouse.
Logstalgia can read from either a file or standard input. To replay an apache log just run:
logstalgia /var/log/apache/access.log
You can combine Logstalgia with other tools like tail and ssh to watch the
ssh user@yourserver.com tail -f /var/log/apache/access.log | logstalgia -
Check out a video of Logstalgia in action:
Logstalgia is available in Debian since Lenny and in Ubuntu intrepid. A version of the package for Debian Etch is available on the homepage.
October 6th, 2008 at 2:34 am
That is cool to look at and actually useful too. And thanks for the tip about SSH; I’d _probably_ have figured it out eventually…
October 6th, 2008 at 12:01 pm
Funny, but the pong feature is not that usefull
I would prefer a world map , and some way to follow sessions of users …
Do you know other program that can visualize activity of a web server in real time ?
October 7th, 2008 at 11:48 am
great work!
i’ve to check it out right now..
August 20th, 2009 at 1:32 am
[...] https://debaday.debian.net/2008/10/05/logstalgia-pong-like-apache-log-viewer/ [...]