To use the CloudWatch Logs from Kinesis Stream in Serverless Framework.
Make sure that you use Serverless v1.
- Run
serverless install --url https://github.com/katsuhiko/sls-log-from-kinesis
to install the service in your current working directory - Next up cd into the service with
cd sls-log-from-kinesis
- Run
npm install
- Deploy with
ACCOUNT_ID=9999 serverless deploy
ACCOUNT_ID=9999 serverless logs -f todosConsumer -t