|
Project Information
Members
Featured
Downloads
Links
|
Logstalgia (aka ApachePong) is a website access log visualization tool.
DescriptionLogstalgia is a website traffic visualization that replays or streams web-server access logs as a pong-like battle between the web server and an never ending torrent of requests. 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 paddle while unsuccessful ones (eg 404 - File Not Found) 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. RequirementsLogstalgia requires a video card supporting OpenGL. For this reason you should typically run Logstalgia on your workstation rather than on the web-server itself (unless your workstation is the web-server). As Logstalgia is designed to playback logs in real time you will need a log from a fairly busy web-server to achieve interesting results (eg 100s of requests each minute). An example access log is included. Related SoftwareIf you like Logstalgia you may also want to check out Gource, a software version control visualization tool. Supported Log FormatsLogstalgia supports several standardised access.log formats used by web servers such as Apache and Nginx: NCSA Common Log Format (CLF)
"%h %l %u %t \"%r\" %>s %b"
NCSA Common Log Format with Virtual Host
"%v %h %l %u %t \"%r\" %>s %b"
NCSA extended/combined log format
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
NCSA extended/combined log format with Virtual Host
"%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""The process id (%P), or some other identifier, may be included as an additional field at the end of the entry. This can be used with '--paddle-mode pid' where a separate paddle will be created for each unique value in this field. ControlsThe simulation can be paused at any time by pressing space. While paused, individual requests can be inspected by passing over them with the mouse. News16 February 2011Logstalgia 1.0.3 has been released. Changes since 1.0.2:
18 January 2011Logstalgia 1.0.2 is finally out! Request throughput in this version is been vastly improved. Log entry processing is no longer framerate limited and several bottlenecks have been optimized out, so this should finally do justice to your busy web server logs. Log entry timezone offsets are now handled, so the --sync command should behave correctly if your webserver is in a different timezone. Streaming over SSH on Windows should work reliably now. This version has been tested and builds on Mac OS 10.6. There should be a formula for 1.0.2 in Homebrew really soon now. Full changes since 1.0.0:
10 March 2010Logstalgia 1.0.0 has been released. Changes since 0.9.9:
1 March 2010Logstalgia 0.9.9 has been released. Changes since 0.9.8:
9 Feb 2010Logstalgia 0.9.8 has been released. Changes since 0.9.7:
4 Feb 2010Logstalgia 0.9.7 has been released. This release adds the --sync option. This will synchronize Logstalgia with the next entry received on STDIN, so you can actually watch the log in real time: tail -f /var/log/apache2/access.log | logstalgia --sync 31 Jan 2010Logstalgia 0.9.6 has been released. This adds quite a few new features, many ported from Gource. This includes adding PPM output support for recording videos, adding controls to seek to a point in the log file, improving the fonts, and adding some new effects. Logstalgia also now builds on Mac OS! Changes since 0.9.2:
Example Command LinesWatch an example access.log file using the default settings: logstalgia data/example.log Watch the live access.log, starting from the most recent batch of entries in the log (requires tail). Note than '-' at the end is required for logstalgia to know it needs to read from STDIN: tail -f /var/log/apache2/access.log | logstalgia - To follow the log in real time, use the --sync option. This will start reading from the next entry received on STDIN: tail -f /var/log/apache2/access.log | logstalgia --sync Watch a remote access.log via ssh. The '-g' option is used here to group together URLs requested containing the string '/adclick.php' under the heading 'Ad Clicks': ssh user@yourserver.com tail -f /var/log/apache2/access.log | logstalgia -g "Ad Clicks,/adclick.php,30" - NOTE: tailing remote logs is not currently recommended on the Windows version due to buffering issues. |