This is a small example program that will accept log messages over http and proxy them to a remote syslog server (such as Papertrail).
# Installs http2syslog to $GOPATH/bin
$ go get -u github.com/backplane/http2syslog
$ http2syslog -port "5001" -network "udp" -addr "logsN.papertrailapp.com:XXXXX" -tag "myapp"
$ curl -X POST --data-binary @- http://localhost:5001 <<EOF
{"first":"message"}
{"second":"message"}
EOF