logs on cloudwatch code example
Example: cloudwatch logs sdk.
var params = {
logGroupName: 'STRING_VALUE', /* required */
logStreamName: 'STRING_VALUE' /* required */
};
cloudwatchlogs.createLogStream(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});