Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/solarwinds/papertrail-go
Golang library to ship logs to papertrail using syslog over udp or tcp or tls with local buffering
https://github.com/solarwinds/papertrail-go
golang golang-library papertrail syslog
Last synced: 4 days ago
JSON representation
Golang library to ship logs to papertrail using syslog over udp or tcp or tls with local buffering
- Host: GitHub
- URL: https://github.com/solarwinds/papertrail-go
- Owner: solarwinds
- License: apache-2.0
- Created: 2018-03-09T15:14:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T23:11:41.000Z (over 3 years ago)
- Last Synced: 2024-06-20T00:29:38.118Z (5 months ago)
- Topics: golang, golang-library, papertrail, syslog
- Language: Go
- Homepage:
- Size: 4.67 MB
- Stars: 7
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Papertrail-go
Papertrail-go is a Go (golang) library built using Go modules for shipping logs to [Papertrail](https://www.papertrail.com/) 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](https://www.papertrail.com/). 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](https://help.papertrailapp.com/).
## 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.goFor 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](https://github.com/solarwinds/papertrail-go/issues/new), we'd love to hear from you. As a SolarWinds Project, it is supported in a best-effort fashion.