Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Logfiles Made Interesting with glTail

Posted by CmdrTaco on Sun Oct 07, 2007 10:11 AM
from the because-you-can dept.
Fudgie writes "My boss claimed it was pretty much impossible to create an entertaining way to visualize server traffic and events in a short time frame, so of course I had to prove him wrong. A weekend of neglecting my family produced a small ruby program which connects to your servers via SSH, grabs and parses data from Apaches access log and Ruby on Rails production log, and displays your traffic and statistics in real-time using a simple OpenGL interface (tested under Linux and Mac OS/X). It's a bit hard to explain over text, so please have a look at fudgie.org for an example movie, and more information."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Oh dear... (Score:5, Funny)

    by DamonHD (794830) <d@hd.org> on Sunday October 07 2007, @10:14AM (#20887681) Homepage
    ...I'm afraid that's the nearest I've seen to a simulated pissing contest ever! B^>

    Rgds

    Damon
  • Oh great... (Score:5, Funny)

    by GodlikeDoglike (600594) on Sunday October 07 2007, @10:18AM (#20887705)
    ...we just made his log screen look like a bukkake flick.
  • by Anonymous Coward on Sunday October 07 2007, @10:20AM (#20887729)
    tell the engineer it can't be done
    • Just want to give props, very nice you made my morning. Now to convert this to a heads up display for my helmet and I'm 1 step closer to becoming the motorcycle hacker I always dreamed I could be. And 1 step closer to earning a darwin award...

  • Visitorville (Score:4, Interesting)

    by Anonymous Coward on Sunday October 07 2007, @10:25AM (#20887759)
    The most entertaining way I ever saw to view logs was Visitorville [visitorville.com]-its kind of like SimCity meets web logging.
  • Not "Fudgie", glTail (Score:5, Informative)

    by gumpish (682245) on Sunday October 07 2007, @10:28AM (#20887779) Journal
    It's pretty obvious that fudgie.org is just the name of the site and glTail is the name of the program.
        • Also, "slash" is also British slang for "urinate".
          And backslash is what happens if you urinate onto a parabolic surface?
           
  • Wow ! (Score:5, Interesting)

    by cheros (223479) on Sunday October 07 2007, @10:29AM (#20887789)
    Obligatory jokes about 'taking the piss' aside, that is brilliant. It's the ultimate 'machine that does ping' (to name an old sketch) to keep management amused, but also provides real data. I bet that screen will go ballistic when you get Slashdotted (also a good way to visualise DDoS, maybe?).

    I was about to say that it's a sort of etherape on steroids, but I've just realised your visualisation could benefit etherape instead (if you don't know etherape, look it up. No tools identifies a virus infection quicker).

    Class, I'm impressed.

    • Re: (Score:3, Insightful)

      I bet that screen will go ballistic when you get Slashdotted

      Look closer. It already is ballistic.

  • by molo (94384) on Sunday October 07 2007, @10:36AM (#20887831) Journal
    Notice in the movie that one of the sites being monitored is fudgie.org, which is what is linked to here. This looks like a ploy to visualize the slashdot effect. :) Wonder what that must look like. Might tax the renderer pretty hard. I guess that is one way to get load testing done!

    -molo
  • by avirrey (972127) on Sunday October 07 2007, @10:41AM (#20887873)
    You gotta add an 'Asteroids' ship on the screen that lets you shoot down connections!

    "Oh, look! Bob just logged on... let's get 'em!"

    ...

    "IT support. How can I help you?"

    "Hi, this is Bob..."

    --
    X's and O's for all my foes.
  • by udippel (562132) on Sunday October 07 2007, @10:53AM (#20887961)
    Luckily, I saw the movie before the meltdown of the server. It always pays to be on time. ;)

    For those unlucky and late, actually, you missed a competition of peeing coloured snowflakes from the right versus doing the same from the left.
    Only, the sources on the left are much better at aiming.
    Plus, you have some 'Login ...' scrolling top to bottom; like the cast of a movie.

    Heads up, Fudgie, it is truely the most amazing display of log files ever creeping across my eyes.
    Keep the good work up, and please post again when you have something actually useful for the sysadmin.

    I declare you 'King of Log Candy' !
  • Ob quote (Score:4, Funny)

    by Provocateur (133110) on Sunday October 07 2007, @10:53AM (#20887963) Homepage
    All I see now is blonde, brunette, redhead.
  • by nurb432 (527695) on Sunday October 07 2007, @11:45AM (#20888315) Homepage Journal
    its still NOT entertaining.. Its more bizzare then anything else.
  • by allenw (33234) on Sunday October 07 2007, @11:59AM (#20888431) Homepage Journal
    Why use ssh + tail -f when one can send the output to a centralized syslog server? There isn't any need to setup an account, keys, etc. when you can have the individual servers consolidate the data for you.
    • seconded (Score:4, Insightful)

      by Cheesey (70139) on Sunday October 07 2007, @12:59PM (#20888873)
      Remote syslog also means that your servers are more secure: (a) because it is harder for crackers to falsify remote logs as they need to compromise two machines, not just one; and (b) because your visualisation program doesn't need access to SSH keys for all of the machines it monitors, so a compromise on the visualisation computer doesn't automatically mean that all of the servers can also be compromised. However, you could presumably adapt this tool to use syslog quite easily.
  • by Mazin07 (999269) on Sunday October 07 2007, @03:43PM (#20890169) Homepage
    If you want to run glTail on Windows:

    1. Use the One-click Ruby installer from rubyforge (not Cygwin ruby)
    2. Make sure to `gem install net-ssh`
    3. Change "require 'glut'" to "require 'glut_prev'" to enable legacy GLUT ruby bindings

    Took me a while to figure this out.
    • Re: (Score:3, Interesting)

      I believe this sort of tool is useful for realtime monitoring of net resources utilization. It can assist you giving graphic clues when something goes out of the usual parameters, like DDoS, slashdotments (sp?), router failure, etc. Depending on information being monitored and how it is displayed, it could also be used for long-term decision like buying more hardware or switching software because the current setup is not handling the load.

      One nice, but more local example is the "duck" activity monitor (a

      • by Fudgie (594631) on Sunday October 07 2007, @04:47PM (#20890659)
        A lot of my time at work is spent looking at logfiles from webservers, applications servers, and databases looking for things about to break down, but after I introduced this I just need to glance at a screen to instantly see if some server has stopped answering, is taking too long to answer, or is generating way more exceptions than normal. I also add an event (the login text bouncing down the screen in the movie) on each money generating activity, which always amazes marketing people when they walk by.