Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

stdloggly

Send logs from anything to Loggly!

stdloggly


Example

Spawn a child process that logs to your Loggly account.

Monitor app.log, and send its contents to Loggly API.

stdloggly --auth <loggly-auth-token> tail -f app.log

You can also pipe data into stdloggly!

Log Parse Cloud Code logs to Loggly.

parse log -f | stdloggly --auth <loggly-auth-token>


Installing stdloggly (via npm)

npm install -g stdloggly


Usage


  Usage: stdloggly [options] <command ...>

  Options:

    -h, --help         output usage information
    -V, --version      output the version number
    -a, --auth <auth>  Your loggly auth token
    -t, --tag [tag]    An optional (loggly) tag for logs from this process
    -b, --bulk         Send to Loggly API Bulk endpoint
    -q, --quiet        Suppress output to stdout/stderr

Parameters

  • -a or --auth: Your loggly auth token

Options

  • -b or --bulk: Send logs to Loggly API's Bulk endpoint
  • -t or --tag: An optional (Loggly) tag for logs from this process
  • -q or --quiet: Only log to loggly; don't output anything to stdout/stderr

About

Start a process and send its stdout and stderr to Loggly.

Resources

Releases

No releases published

Packages

No packages published