November 2011
5 posts
3 tags
How to get the Skype icon into the Ubuntu 11.10...
When you use Skype with Ubutun 11.10 on Unity you will encounter problems when closing it: Usually it just went to the GNOME panel, but now it just disappears. Choosing it from the Unity launcher will complain that there is already an instance of Skype running and you won’t be able to open it again. The good news: There is a setting that defines which applications are allowed to hook into...
Nov 24th
3 notes
Nov 21st
WatchWatch
Nov 10th
6 tags
What's coming in Graylog2 v0.9.6
I am in the last steps of a Graylog2 v0.9.6 beta release these days: There are only a few tickets for the server and web interface left. I’d like to take some time and give you an overview about what is changing and coming in this next version of Graylog2. ElasticSearch is the new message storage MongoDB has been dropped as message storage. It will stay for message counts (see faster...
Nov 8th
10 notes
Nov 5th
October 2011
1 post
5 tags
Hostgroups in Graylog2 will die
The next version of Graylog2 (0.9.6) will no longer include hostgroups. Let me explain why: You can now build hostgroups using streams since there is a hostname regex matcher rule. The difference is that you are more flexible because of all the other stream filters available. Keeping the hostgroups alive would basically mean having a duplicated feature with less flexibility. Suggestions or...
Oct 18th
63 notes
August 2011
1 post
3 tags
Me finishing the 102km 2011 Cyclassics
Finished in 02:53:35 - Pretty happy with a position in the first third. Really nice race!
Aug 22nd
1 note
July 2011
2 posts
4 tags
Events coming to Graylog2
I am currently working on this new Graylog2 feature. (Screenshot shows the very early stage and is pretty ugly) You will be able to define rules on a time axis that trigger an event. You can define actions (like executing a script, sending an email, …) for whenever an event or a number of events are triggered. Also expect some fancy graphs going far into the history which are perfect...
Jul 31st
21 notes
4 tags
Training
What a great tour! Only 50km, but really fast and on slippy roads - Perfect to learn keeping your bike under control! Top Speed: 61,2 km/h - Shhooooossssssh!
Jul 3rd
20 notes
June 2011
1 post
8 tags
Introducing the Graylog2 Analytics Shell
I spent my last evenings hacking on a new Graylog2 feature which will be very useful for running powerful analytics on your log messages: The Graylog2 Analytics Shell. The detailled description is in the wiki. Use this shell to extract information from your log messages. I always like the use case of API monitoring. You could easily find out if that one call is still used by consumers - Or even...
Jun 22nd
31 notes
March 2011
2 posts
Mar 7th
10 tags
mongo_analyzer
I wrote a little Sinatra application that can be very helpful at optimizing your MongoDB applications. It was very handy while optimizing the Graylog2 MongoDB parts so I made it public and configurable. It allows you to enable/disable the MongoDB profiler and see it’s results in an overview page. Just start the profiler, run the MongoDB parts of you application you want to test and reload...
Mar 2nd
26 notes
February 2011
2 posts
Graylog2 performance
I made a lot of improvements to Graylog2 performance in the last weeks. The server is now noticeably less consuming MongoDB because of host count caching: The message counts of hosts are now updated every 5 seconds instead of with every processed message. (graylog2-server 90d097) This leads to a lot more messages processed per second. I have made tests with 4000 GELF msgs/second that were not...
Feb 24th
13 notes
Really nice and easy to use key mapping for jQuery
This jQuery plugin to build keyboard navigation is really easy to use and just works great: https://github.com/pixelmatrix/mapkey
Feb 23rd
January 2011
2 posts
AMQP support for Graylog2
I built this in the last days: http://blog.graylog2.org/amqp-support-for-graylog2
Jan 22nd
Graylog2 v0.9.4 released!
I released Graylog2 v0.9.4 yesterday. This release brings a lot of new features, bug fixes and speed improvements. Read the full announcement with a lot of screenshots here: http://www.graylog2.org/whatsnew/release/0-9-4
Jan 9th
December 2010
1 post
I srsly can't stop laughing: Party Gorilla...
Hi - question about collection sizes... If the param messages_collection_size is increased after initial startup, and graylog2 server is restarted, will the collection cap be adjusted?
Another question: the tech team is really curious about the gorilla mascot, and it's origin. It looks to me like something from homestar runner, but I haven't watched those cartoons in a long time so I could be way off.
In terms of importance to me, an answer to Q1 is more important than an answer to Q2, but I'll take what I can get :)
doc_at_xen: I can explain the gorilla, but you'd better grab a snickers
Hey! How did you know what my wife calls my ..
oh wait, candy bar. Right, hold one, brb
doc_at_xen: we're watching, always watching
haha
just tell them, he's a motherfucking party gorilla with a motherfucking party hat
http://theoatmeal.com/comics/party_gorilla
that's just about what I said. I warned them that he was there to party and be happy, but that if they fucked up he was going to start killing, so they better keep their shit together.
excellent, thanks for that
I can't wait for graylog2con
gonna be some real live gorillas
If this works for me, I'll wear a gorilla suit to the convention
w t f, no fakes son
you don't want to insult party gorilla man
;)
Dec 10th
October 2010
6 posts
Oct 26th
10 tags
Graylog2 v. 0.9.3 has been released!
Yay, celebrate! I just released Graylog2 v. 0.9.3 (graylog2-server and graylog2-web-interface). Here is a list of noteworthy changes: Host groups You can now create host groups that show all messages of hosts you added. This can be useful if you want to get an overview of all messages of a cluster or type of hosts. New messages bar A line with the number of new log messages since your...
Oct 24th
Oct 24th
21 notes
Talking at RubyAndRails EU 2010
I’m proud to announce that I’m talking about Rails exception tracking with Graylog2 at RubyAndRails European Conference 2010 in Amsterdam. See you all there! http://rubyandrails.eu/speakers/lennart-koopmann http://lanyrd.com/2010/rubyandrails-europe/
Oct 9th
9 tags
Easily log all your Rails Exceptions to Graylog2
I wrote and published a gem that you can load as Rack middleware in your Rails application. It transparently fetches all your Exceptions (and throws them back to the application so it does not affect your own Exception handling) and sends them as a GELF message to your Graylog2 installation. Installation Install the gem. It has my GELF gem as dependency and will install it...
Oct 8th
1 tag
Oct 4th
September 2010
3 posts
6 tags
Disable start on boot of service in Ubuntu
I don’t want MongoDB to automatically start on boot: lennart@netbook:~$ sudo update-rc.d -f mongodb remove Removing any system startup links for /etc/init.d/mongodb ...
Sep 28th
4 tags
Sep 24th
Sep 10th
August 2010
12 posts
2 tags
Graylog2 v. 0.9.2 has been released
I just released Graylog2 v. 0.9.2 - New in this version: Graphs - Will be extended in future versions Automatic refresh for dashboard Web interface now compatible with MongoDB v. >= 1.6.0 Remove messages hit by a quickfilter or stream Raised maximum size of GELF messages to 8192 byte Huge server performance impact by using thread pooling techniques Some minor bugfixes …and...
Aug 27th
Aug 27th
“Note to self: Don’t wait for RST packets when debugging UDP”
Aug 23rd
6 notes
5 tags
Aug 22nd
Aug 19th
2 tags
Aug 10th
Aug 7th
7 tags
JUnit: Test System.out.println()
You can easily (JUnit-) test if something has been written via System.out.println by poiting out to a ByteArrayOutputStream: private final ByteArrayOutputStream output = new ByteArrayOutputStream(); private final String logMessage = "testtestTEST"; @Before public void setUp() { System.setOut(new PrintStream(this.output)); } @After public void tearDown() { System.setOut(null); } /** *...
Aug 5th
lucevers asked: Hi,

Can graylog2 read from a named pipe in stead of a port?
Aug 4th
2 tags
Aug 3rd
Aug 3rd
6 tags
Git: Show all commits since a tag
This git command shows you all commits after tag ‘0.9’: ~$ git log 0.9.. lennart@sundaysister:~/workspace/graylog2-web-interface$ git log 0.9.. commit 699ea1984279b5c5db2f419ac740b488bd874ed9 Author: Lennart Koopmann <lennart@scopeport.org> Date: Sun Aug 1 20:13:47 2010 +0200 build script now deleting dashboard logo in release commit...
Aug 1st
July 2010
14 posts
10 tags
Install the Graylog2 web interface on Debian 5.0
The guide has moved here: https://github.com/Graylog2/graylog2-web-interface/wiki/Installing-the-web-interface-on-Debian-5.0
Jul 30th
5 notes
8 tags
Install the Graylog2 server on Debian 5.0
The guide has moved here: https://github.com/Graylog2/graylog2-server/wiki/Installing
Jul 30th
10 tags
Release build script for Graylog2
I wrote a shell script that lets me easily create new Graylog2 releases. It bundles Rails with all required gems, configures the release, works on some files and creates a nice .tar.gz package I can test and upload as release. lennart@sundaysister:~/workspace/graylog2-web-interface/build$ time sudo ./build_release.sh 0.8.2 BUILDING graylog2-web-interface-0.8.2 Copying files ... Configuring...
Jul 29th
Stashboard: The open source status page for cloud... →
Looks pretty cool.
Jul 29th
9 tags
UDP server sockets in Java: Introduction and...
What is the difference between UDP and TCP? The most important difference between the User Datagram Protocol (UDP) and TCP which you always have to keep in mind is: UDP communication is never reliable. While TCP guarantees that the packages you send will arrive the destination, will still be in the correct order and are not damaged, UDP packages are just fired out and you have no feedback what...
Jul 27th
22 notes
7 tags
MongoMapper/Rails: Connect to a MongoDB database...
MongoMapper is a great project but missing a lot of documentation in some core parts. I wanted to find out how to connect to a MongoDB instance that requires authentication and this is how I did it: First step: Adding a new section to your database configuration # config/database.yml mongodb: hostname: localhost database: graylog2 port: 27017 authenticate: true username: graylog2user ...
Jul 27th
24 notes
Jul 26th
Jul 26th
7 tags
Graylog2 Nagios check
I just wrote a Graylog2 rake task that can be used as Nagios check. It checks if the number of new log messages exceeds a given limit: lennart@lennart-t61:~/workspace/graylog2-web-interface$ rake nagios:check minutes=10 messages=100 (in /home/lennart/workspace/graylog2-web-interface) status: okay The rake task code: (Interesting if you want to pass parameters to rake tasks) namespace...
Jul 23rd
conforming say to apache is a good idea
You are giving something away, and people get what they for, for your own sanity, conforming say to apache is a good idea.
Jul 19th
WatchWatch
33°C in Hamburg!
Jul 9th
1 tag
Graylog2 now has all Graylog1 features (and more)
I just tagged the current Graylog2 state as Graylog1 feature complete! All old Graylog1 features are now working together with the new Graylog2 features and structure. $ git diesdas graylog1-feature-complete 074259c $ git push --tags Total 0 (delta 0), reused 0 (delta 0) To git@github.com:lennartkoopmann/graylog2-web-interface.git * [new tag] graylog1-feature-complete ->...
Jul 6th