Skip to content

Files

Latest commit

6d4f544 · Jul 15, 2016

History

History

ShantanuJoshi-SyslogLightningTalk

Setup

  • clone the repo
  • create a free account at papertrail
  • After signup, click on Add your First System
  • Modify the port specified in syslog.go to what is displayed.

Running the source

  • go run syslog.go
  • Back in papertrail, click on events to see logs streaming in.
    • If the protocol specified in syslog.gois tcp then change that to udp to get it working.

TCP

To get TCP working:

  • git fetch
  • git checkout tls
  • go run syslog.go