Slashdot Log In
Logfiles Made Interesting with glTail
Posted by
CmdrTaco
on Sun Oct 07, 2007 09:11 AM
from the because-you-can dept.
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."
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
Loading... please wait.
Oh dear... (Score:5, Funny)
Rgds
Damon
Re: (Score:2)
Oh great... (Score:5, Funny)
Just took a look at the video (Score:2, Funny)
Nice work though.
engineering management 101 (Score:5, Funny)
Re: (Score:3, Funny)
Re: (Score:2)
Visitorville (Score:4, Interesting)
Not "Fudgie", glTail (Score:5, Informative)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Funny)
Wow ! (Score:5, Interesting)
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)
Look closer. It already is ballistic.
Re: (Score:2)
just a ploy to visualize the slashdot effect (Score:3, Interesting)
-molo
Re:just a ploy to visualize the slashdot effect (Score:5, Informative)
Parent
User agents and OS (Score:2)
I guess we could download the source and do it ourselves!
I don't know why so many comments were hating on this tool. As a big fan of "visualization" (Tufte books, etc.) I find Fudgie easy to understand and useful. The possibilities here are amazing.
Kudos to you, Fudgie (er...that sounds kinda bad)
Re:just a ploy to visualize the slashdot effect (Score:5, Interesting)
Parent
Here's what it looks like when you're not ./-ed (Score:2)
Perhaps the parser doesn't like my Apache logs?
2437 frames in 5.000 seconds = 487.400 FPS
Elements[0], Activities[0]
2550 frames in 5.001 seconds = 509.898 FPS
Elements[0], Activities[0]
1182 frames in 5.002 seconds = 236.305 FPS
Elements[0], Activities[0]
987 frames in 5.001 seconds = 397.321 FPS
Elements[0], Activities[0]
2534 frames in 5.003 seconds = 506.496 FPS
Elements[0], Activities[0]
2506 frames in 5.000 seconds = 501.200 FPS
Elements[0], Activities[0]
2505 frames in 5.0
Re: (Score:2)
My apache config has the "HostNameLookup" feature enabled for the logs.
The ruby script's apache log regex parser only allowed for IP's in the logs. I changed it from [\d.] to [a-z0-9.] (line 87).
Bingo.
PS: THis is a pretty neat script.
Re: (Score:2)
Nice work.
Re: (Score:2)
Re: (Score:3, Interesting)
doom (Score:2)
I recall seeing screenshots, but that was years ago.
Re:doom (Score:5, Informative)
Parent
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
However, the line you quote is quite satisfying: csh certainly deserves to be shot. Of course, so do users of csh. This also applies to tcsh of course.
-Lasse
Oh, Sweeeetness! (Score:5, Funny)
"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.
Re: (Score:2, Funny)
Re: (Score:2)
And maybe after that you can add a tool to allow you to kill "rabbits" with "flu shots" ;-)
Compiz for syslogs - ohmygawd ! (Score:3, Funny)
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
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)
GNU GPL (Score:2, Informative)
#!/usr/bin/env ruby # gl_tail.rb v0.01 - OpenGL visualization of your server traffic # Copyright 2007 Erlend Simonsen # # Licensed under the GPLv2
Hey, this is not the correct way to apply the GNU GPL licence. I don't know whether you had very little time available or just don't care, but the correct way is to explain exactly what licence (full title) the program is under and enable the user to find the licence (provide a copy of it and explain that the author of the licence is FSF, giving their address). We nerds of course understand completely what you mean, but other people may have no idea what you are talking about. To learn how to apply GPL
Sorry, but the boss won this bet (Score:3, Insightful)
Re: (Score:2)
syslog, not ssh+tail -f (Score:5, Insightful)
seconded (Score:4, Insightful)
Parent
Re: (Score:2)
Running glTail on Windows (Score:5, Informative)
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:Looks promising (Score:5, Interesting)
Parent
Re: (Score:2)
Re:Looks promising (Score:4, Funny)
So...how many hours of unpaid overtime did your boss get out of you?
I like getting paid for my awesome work. Kudos, though.
Parent
Re: (Score:3, Interesting)
Re: (Score:2)
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
Re: (Score:2)
Re:Wait, what... they're not interesting? (Score:5, Interesting)
Parent