Forked from https://github.com/robertkowalski/graylog-golang