glTail: Realtime Logfile Visualization

glTail Screenshot

This screenshot shows how glTail visualizes a comment spam attack in my configuration.

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.

Stumble It!
glTail: Realtime Logfile Visualization

Related posts:

  1. 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..."
  2. 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..."
  3. 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...."
  4. 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..."
  5. 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..."
This entry was posted in Applications, Open Source, Ruby, Servers, WordPress and tagged , , , , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. Demi Fantasy demifantasy.com
    Posted October 11, 2007 at 9:44 pm | Permalink

    Cool visualization. It’s great to see how the server works! Thank you for this.

  2. Patrick Havens litwc.com
    Posted October 12, 2007 at 11:49 am | Permalink

    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

  1. By Michael Boyd Clark Journal/Blog on October 12, 2007 at 10:16 am

    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…

  2. [...] 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 [...]

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Subscribe

  • Follow Me

    Twitter  Facebook  Flickr  Last.fm  LinkedIn  StumbleUpon  Technorati  Delicious  
  • Referrals

    Sign up for Text Link Ads and earn money from your blog.
  • Lifestream