Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.
/ gologentries Public archive

A command redirecting stdin to Logentries for UNIX/Linux pipe

License

Notifications You must be signed in to change notification settings

tilfin/gologentries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gologentries

Redirecting stdin to Logentries for UNIX/Linux pipe

Build

$ go build -o gologentries main.go

for Raspberry pi

$ GOOS=linux GOARCH=arm go build -o gologentries main.go

Usage

$ tail -F /var/log/application.log | LE_TOKEN=xxxx-xxxx-xxx-xxxx ./gologentries

Setup a log with token

Make a Token TCP referencing Adding a Log | Logentries

Logentries screenshot

Logentries receiving raw logs from stdin

$ echo "test log" | LE_TOKEN=xxxx-xxxx-xxx-xxxx ./gologentries
$ tail -F /var/log/application.log | LE_TOKEN=xxxx-xxxx-xxx-xxxx ./gologentries

Screenshot

About

A command redirecting stdin to Logentries for UNIX/Linux pipe

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages