logentries-piper
v1.0.2
Published
Pipe a command's output to Logentries
Downloads
1
Maintainers
Readme
Logentries Piper
Pipe a command's output to Logentries and forward it to the standard output as well.
Install
npm install (-g) logentries-piper
Use
COMMAND | logentries-piper
If you want to also pipe stderr :
COMMAND 2>&1 | logentries-piper
Pass your Logentries token :
- as
LOGENTRIES_TOKEN
environment variable - with
--token <TOKEN>
argument (prevails on the env. var.)
License
MIT