cloudwatch-log-stream

0.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i cloudwatch-log-stream

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • segment-admin