cloudwatch-log-stream
v0.1.0
Published
A readable stream of CloudWatch logs.
Readme
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 nameregion(required) the AWS regionfilteroptional 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
