0.1.0 • Published 7 years ago

cloudwatch-log-stream v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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