A few days ago, in my usual daily link browsing, I ran across a link to something called “glTail“, which was described as “realtime logfile visualization”. I’m often keeping an eye on my server logs to catch unusual activity, so I thought I’d give it it a look. There’s a video there that shows it in action — very cool!
For those of you aren’t interested enough to click the link yet, let me see if I can give a description that does it some justice:
- Monitors logfiles in realtime over an ssh connection to remote servers.
- Can monitor multiple logfiles on multiple servers, simultaneously.
- Currently has parsers for Apache, IIS, RubyOnRails, and Postfix logs (and I found that the Postfix parser works pretty good on Sendmail logs).
- Pretty!
It’s written in Ruby, and requires OpenGL. Runs fine on my laptop under Ubuntu. And if you don’t know how to program in Ruby, don’t let that discourage you — I don’t know Ruby, but I’ve been able to modify the code enough to copy the “postfix” parser into a new “sendmail” parser, and customize it slightly. And I’m thinking about trying to write a parser for my MySQL logs. Hopefully, a future version will add more built-in parsers and move configuration into an external file, though.
Currently, I’m using it to monitor three of my WordPress blogs, plus my mail server. Several times now, I’ve easily spotted comment spam attacks, and quickly plugged them in my firewall. I added handlers to pop up notices whenever a comment is posted, and to track the posts-per-minute by IP number. One of my co-workers is planning to use it to see if our load balancer is actually balancing our web server requests evenly. All-in-all, glTail is a nice tool for your sysadmin arsenal.
glTail: Realtime Logfile VisualizationRelated posts:
- Realtime Web Experiments
" Scott has been doing some interesting experiments. The first is a realtime visitor stats widget, and the second is a, uh… Well, I’m not..." - Spammers should all DIE DIE DIE
" I am so sick of the damn spammers. Spammers are teh sux0r. Spammers are a festering boil on the ass of the Internets. I..." - Whither Spam?
"When I switched to my new Slicehost server, I spent a while trying to decide what I wanted to do about email for my domains...." - Some blog spam cases you might want to watch for
" I like to think that I’ve got some pretty decent spam prevention measure in place on my server. My mail server uses RBL/DNSBL services..." - Plugin: SpamForceField
" SpamForceField is my newest anti-spam plugin for WordPress. This one does a couple of interesting things: All connections via pinappleproxy are denied. Every connection’s..."















2 Comments
Cool visualization. It’s great to see how the server works! Thank you for this.
I tried getting this going for myself, but I’m wondering if I’m having a conflict with Beryl. I enabled debugging and all I see are ping messages, no errors. And my display is blank.
But I’ll keep playing with it, and see what I come up with. I definitely like the idea.
Thanks for the heads up about it.
2 Trackbacks
Watching Your Web Server…
If you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!I have often wished I could have a real-time visual indicator of what my web server is doing. I never really got past simply using a tail command piped into a grep comm…
[...] but it got really messy following many servers. Plus straight text wasn’t very pretty. Then Dougal Cambell pointed out a cool cross platform graphical tail program. Written in ruby, it isn’t for the faint at [...]