Skip to content

Instantly share code, notes, and snippets.

Michael Lanyon lanyonm

Block or report user

Report or block lanyonm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am lanyonm on github.
  • I am lanyonm ( on keybase.
  • I have a public key whose fingerprint is FD54 B310 13BB 5C2F 3BBC 7703 B76C 1A71 AACD 7709

To claim this, I am signing this object:

View apache-and-tomcat-logs.json
"title": "Apache and Tomcat Logs",
"services": {
"query": {
"list": {
"0": {
"query": "apache !tomcat !static",
"alias": "",
"color": "#7EB26D",
"id": 0,
lanyonm / logstash.conf
Created Nov 28, 2013
Logstash configuration file
View logstash.conf
input {
file {
type => "nginx-access"
path => ["/var/log/nginx/access.log"]
filter {
if [type] == "nginx-access" {
grok {
lanyonm / Cheffile
Last active Dec 25, 2015
A Vagrant config for Graphite & StatsD.
View Cheffile
site ""
cookbook "apt"
cookbook "graphite", "0.4.8"
cookbook "vim"
cookbook "statsd",
:git => "",
:ref => "v1.1.3"
lanyonm /
Created Oct 13, 2013
The python script used to collect XBee Kill-a-Watt data.
#!/usr/bin/env python
import serial, time, datetime, sys
from xbee import xbee
from socket import socket
import sensorhistory
LOGFILENAME = "powerdatalog.csv" # where we will store our flatfile data
You can’t perform that action at this time.