Logfiles Made Interesting with glTail 131
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."
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)
Re: (Score:1)
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)
Re: (Score:2)
Most of that time seems to have been spent drawing dots at maximum speed spewing out of the "Content" lines; maybe they need to increase speed in response to higher request rates so it's not waiting for t
Re: (Score:2, Informative)
Re: (Score:2)
Re: (Score:2, Informative)
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)
That's no moon (Score:1)
Re: (Score:1)
CC.
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:1)
Re: (Score:2)
Nice work.
Re: (Score:2)
Re: (Score:1)
I say hurl. If slashdot blows chunks and fudgie comes back, shes yours. If it spews and fudgie runs, it was never meant to be.
Re: (Score:3, Interesting)
Re: (Score:2, Interesting)
doom (Score:2)
I recall seeing screenshots, but that was years ago.
Re:doom (Score:5, Informative)
Re: (Score:2)
I loved this line: (Score:1, Funny)
"Certain processes are vital to the computer's operation and should not be killed. For example, after I took the screenshot of myself being attacked by csh, csh was shot by friendly fire from behind, possibly by tcsh or xv, and my session was abruptly terminated."
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
Re: (Score:1)
Re: (Score:2)
Thanks for calling me an insensitive clod, btw.
-Lasse
Re: (Score:2)
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" ;-)
Wow (Score:1)
Re: (Score:1)
Re: (Score:2)
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)
Postfix? (Score:1)
Re: (Score:3, Interesting)
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)
Re: (Score:2)
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
Re: (Score:2)
Re: (Score:1)
No, you are not the only one...
Sorry, but the boss won this bet (Score:3, Insightful)
Re: (Score:2)
Re: (Score:1)
syslog, not ssh+tail -f (Score:5, Insightful)
seconded (Score:4, Insightful)
Re: (Score:2)
I'm sorry; I know your comment is old, but: no. No, no. No no no no no.
syslog is insecure; messages are unauthenticated. Don't believe me? Use the logger(1) utility to forge a message from any daemon on your system, as an unprivileged user. Send a UDP packet to an open syslog daemon to forge a message to look as if it came from any daemon on the originating host. Forge that UDP packet as if it came from any system in the world; there's no two-way handshake to verify the path to the sender is legitim
Re: (Score:2)
Re: (Score:2)
In any case, I'm considering borrowing the idea and using it to 'watch' blocks on HDFS [apache.org]. I think it would be interesting to have a visual of blocks/files getting read/written/replicated. It might show patterns that we're otherwise not seeing.
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: (Score:2)
Re: (Score:2)
Re: (Score:2)
Audialization (Score:1)
fastfinge> i put it in the dmz
fastfinge> much musical entertainment
fastfinge> I should find the source for that thing again. i could change midi intruments depending on the type of packet.
fastfinge> or maybe create length and timbre data from the source IP?
2006-09-20
Booooring. (Score:1)
Was rather interesting as you actually could *hear* all those Windows trojans and worms trying to dig their way into your (Linux) system.
Google called (Score:2, Funny)
Not impressed (Score:1, Insightful)
It *really* shows that this was hacked together over a weekend. I've spent 15 minutes trying to get it to run, and all I see are Ruby warnings about about obsolete code, and failed dependencies. I've installed about a dozen packages to try to satisfy this beast's dependency hunger, but to no avail. Behold:
Re: (Score:2, Informative)
It's not hard, and quite a few have been able to get it running on Linux, OS X and Windows. FreeBSD is still a no-go.
Two words... (Score:2)
Move of the slashdotting... (Score:2)
Re:Looks promising (Score:5, Interesting)
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.
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)
If you just install any of the standard RRDTool frontends out there, e.g. cacti, or my personal favorite, munin (far easier to install/extend/use than cacti), and check them regularly, it's not hard to tell when something's wrong. Traffic and usage patterns are pretty consistent from week to week on the boxes I've administered. After a month of checking graphs in munin daily
Re: (Score:2)
Re: (Score:1)
And replace it with what? (Score:2)
Re: (Score:2)
WTF? OMG? BBQ???
Re: (Score:2)
I'm constantly surprised at what people will plod along with!
Re: (Score:2)
That doesn't make it secure. SSH also has an authentication protocol, and it's per-user. If yours is per-IP-stack, you already lost -- both because we already have that (in the form of VPNs and ipsec) and because it's not secure (anyone who can connect to the server can authenticate).
So once again: What method of RPC would you use instead of SSH? Telnet? Last I checked, it won't do RSA authentication -- it's reall
Re: (Score:2)
Re: (Score:1)
Re:Wait, what... they're not interesting? (Score:5, Interesting)
Re: (Score:2)
This is the first time I have felt I needed to say anything on Slashdot in a while.
Well done, sir.
Re: (Score:2)
Re: (Score:2, Informative)
Re: (Score:2)
Re: (Score:2)
The next version will have an auto-fallback to this function if the exception is raised.