Logstalgia is a visualization tool that visualize web access logs as a game simulation (as a pong like battle game between web server and requests). Requests are appeared as colored balls and travel across the screen to reach requested location. The colored ball hits the paddle if it is a successful request otherwise it misses (for e.g. if it is an error)
Requirements:
> Its works with OpenGL (Open graphic Library) and need an accelerated 3D display to visualize
> A web server with logs such as Apache, Lighttpd, Nginx (a busy server gives interesting result)
> Linux operating system (eg: Ubuntu, Fedora)
Installing Logstalgia :
$ apt-get install libsdl1.2-dev libsdl-image1.2-dev libpcre3-dev libftgl-dev libpng12-dev libjpeg62-dev
$ wget https://logstalgia.googlecode.com/files/logstalgia-1.0.3.tar.gz
$ tar –xvf logstalgia-1.0.3.tar.gz
$ cd logstalgia
$ ./configure
$ make
$ make install
Using Logstalgia
$ logstalgia access_log
$ logstalgia /var/httpd/access_log
$ logstalgia [option] /var/httpd/access_log
Save output as a video file
$ logstalgia -1280×720 –output-ppm-stream output.ppm /var/log/httpd/access.log
Convert it to .mp4 format
$ ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i output.ppm -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 nginx.server.log.mp4
Controls
The simulation can be paused by pressing a space bar. While pausing individual requests can be inspected well.
Logstalgia Options :
logstalgia [options] logfile
-f: Fullscreen.
-WxH: Set the window size. If -f is also supplied, will attempt to set the video mode to this also. Add ! to make the window non-resizable.
-b: –background FFFFFF
Background color in hex.
-x: –full-hostnames
Show full request ip/hostname.
-s: –simulation-speed
Simulation speed. Defaults to 1 (1 second-per-second).
-p: –pitch-speed
Speedballs travel across the screen (defaults to 0.15).
-u: –update-rate
Page Summary update speed. Defaults to 5 (5 seconds).
(Many more options are available)
If you require help, contact SupportPRO Server Admin
