Skip to content

An example log drain backend that forwards all logs to a syslog server.

Notifications You must be signed in to change notification settings

backplaneNoLongerBackplane/http2syslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

HTTP-to-SYSLOG Service

This is a small example program that will accept log messages over http and proxy them to a remote syslog server (such as Papertrail).

Install

# Installs http2syslog to $GOPATH/bin
$ go get -u github.com/backplane/http2syslog

Usage

$ 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

About

An example log drain backend that forwards all logs to a syslog server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages