Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/loggly-cat
Stream logs to loggly via stdio.
https://github.com/segment-boneyard/loggly-cat
Last synced: about 5 hours ago
JSON representation
Stream logs to loggly via stdio.
- Host: GitHub
- URL: https://github.com/segment-boneyard/loggly-cat
- Owner: segment-boneyard
- Created: 2014-07-31T16:53:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-03T05:21:00.000Z (over 10 years ago)
- Last Synced: 2024-06-20T15:29:18.947Z (5 months ago)
- Language: Go
- Size: 141 KB
- Stars: 13
- Watchers: 42
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# loggly-cat
Stream logs to loggly via stdio.
## Usage
```
Usage:
loggly-cat --token t [--tag t]...
loggly-cat -h | --help
loggly-cat --versionOptions:
-t, --token t loggly api token
-T, --tag t loggly tag(s)
-h, --help output help information
-v, --version output version```
## Installation
```
$ go get github.com/segmentio/loggly-cat
```## Examples
From stdio:
```
$ myapp | loggly-cat -t my-token -T myapp
```From tailing:
```
tail -n0 -F /var/log/upstart/buffer.log | loggly-cat -t my-token -T redshift -T red-buffer
```From tailing many:
```
tail -n0 -F /var/log/upstart/{buffer,transform,load}.log | loggly-cat -t my-token -T redshift
```# License
MIT