What the Grok!? - A Python script to convert grok epxressions to regex

Posted on Wed 17 August 2016 in Regex • 3 min read

I found myself needing to parse an HAProxy log file but was too lazy to write a proper regular expression by hand. I knew that Grok had HAProxy expressions so I wrote a tool to pull out the raw regular expression.


Continue reading

Serial Over LAN (SOL) - Java’s dead!

Posted on Wed 03 February 2016 in Linux • 2 min read

I’ve been a sysadmin and worked with sysadmins for years but we’ve always used the cruddy Java applet interfaces to the remote consoles. I started a new job recently and was fed up with it. So, I went about learning how to do Serial Ove LAN (SOL) using IPMI. Turns out, its super easy!


Continue reading

Capturing and filtering SIP/RTP data with tshark

Posted on Tue 04 August 2015 in Linux • 2 min read

Create a ring buffer of packet captures on a VoIP/SIP server.


Continue reading

Getting to the root of your Git

Posted on Sun 17 May 2015 in Dev Tools • 1 min read

How to quickly cd to the root of your git repository.


Continue reading

IP address associated with the default route

Posted on Sun 17 May 2015 in Linux • 1 min read

Find the IP associated with the default route on Linux and Mac OSX.


Continue reading

When OSX shebang won’t use Bash 4 from brew

Posted on Sun 17 May 2015 in OSX • 1 min read

What do you do when OSX decides to replace Bash4 with Bash3? Get creative!


Continue reading

Docker commands - the git way

Posted on Sat 16 May 2015 in Dev Tools • 1 min read

Wouldn’t it be nice if you could run docker compose instead of docker-compose? What about Docker Machine? You can!


Continue reading