Node.js stream-based access to CloudWatch Logs.
The cwlogs module
var cwlogs = ;
Provide a readable stream of log events for a particular log group
optionsobject default Node.js ReadableStream options with extensions detailed below.
options.groupstring the name of the LogGroup to read
options.regionstring the AWS region in which the LogGroup resides
options.pattern[string] a search string to use to filter log events
options.start[number] read log events after the provided time (in ms since since Jan 01 1970) (optional, default
options.start[number] read log events until the provided time (in ms since since Jan 01 1970) (optional, default
options.messages[boolean] if set to true, the stream will be in objectMode: false and will provide only log event messages (optional, default
options.retry[function] a function to handle retry events from AWS requests
var readable = cwlogs;readable;