Skip to content

Golang library to ship logs to papertrail using syslog over udp or tcp or tls with local buffering

License

Notifications You must be signed in to change notification settings

solarwinds/papertrail-go

Repository files navigation

Papertrail-go

Papertrail-go is a Go (golang) library built using Go modules for shipping logs to Papertrail using syslog over udp or tcp or tls.

Warning: This is a Go library project. It will NOT produce a consumable executable.

Papertrail

In order to ship logs to Papertrail, you will need a Papertrail account. If you don't have one already, you can sign up for one here. After you are logged in, you will need to create a Log Destination from under the Settings menu. When a log destination is created, you will be given a host:port combo.

For any help with Papertrail, please check out their help page here.

Usage

To get the package:

go get github.com/solarwinds/papertrail-go

For a detailed usage example, please check out: https://github.com/solarwinds/cabbage/blob/master/logshipper/papertrail.go

For development, you should be able to clone this repository to any convenient location on your machine.

To run all the static checks:

make lint

To run tests:

make tests

Questions/Comments?

Please open an issue, we'd love to hear from you. As a SolarWinds Project, it is supported in a best-effort fashion.

About

Golang library to ship logs to papertrail using syslog over udp or tcp or tls with local buffering

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published