npm.io
0.1.0 • Published 9 years agoCLI

cloudwatch-log-stream

Licence
MIT
Version
0.1.0
Deps
4
Vulns
1
Weekly
0

cloudwatch-log-stream

A readable stream of CloudWatch logs.

API

logstream = getCloudWatchLogStream(options)

Create a readable log stream with the given options:

  • group (required) the log group name
  • region (required) the AWS region
  • filter optional filter for logs
logstream.destroy()

Destroy the stream.

Examples

Two contrived examples are in the examples directory.

basic

Basic usage of the stream, piped to stdout.

web

A primitive example using WebSockets to show the basics of streaming logs to the browser.

License

MIT

Keywords