Article 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:
You can combine Logstalgia with other tools like tail and ssh to watch the
ssh firstname.lastname@example.org tail -f /var/log/apache/access.log | logstalgia -
Check out a video of Logstalgia in action: