TeamCo AntHill

Sunday, October 5, 2008

Logstalgia: Web server access log visualizer

Logstalgia (aka ApachePong) replays or streams a standard website access log (eg access.log) as a retro arcade game-like simulation.

Requirements
The display is rendered using OpenGL and requires a 3D accelerated video card to run.

An example access log is included.

Example Command Lines
logstalgia /var/log/apache/access.log

Watch a log file from in a window, using the default groups.

tail -f /var/log/apache/access.log | logstalgia -

Watch the log in real time as new requests come in (requires tail). Note that ’-’ at the end is required for logstalgia to know it needs to read from STDIN.

ssh user@yourserver.com tail -f /var/log/apache/access.log | logstalgia -g "Ad Clicks,/adclick.php,30" -

Watching the log in realtime again, but this time tailing a log from a remote location over ssh. -g groups together URLs requested containing the string ’/adclick.php’ under the heading ’Ad Clicks’.

Note: tailing remote logs is not currently recommended on the Windows version due to buffering issues.

http://code.google.com/p/logstalgia/
Unknown at 10:00 AM
Share

No comments:

Post a Comment

‹
›
Home
View web version

Who does this world belong to?

Unknown
View my complete profile
Powered by Blogger.