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 regionfilter
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 WebSocket
s to show the basics of streaming logs to the browser.
License
MIT