July 2017
Intermediate to advanced
402 pages
9h 38m
English
Our logging library, Winston, has a system to extend some of its functionalities, including its transport system. We will install a new transport system that can talk to Kinesis Firehose.
In your terminal, go to the root directory of your helloworld application and run the following command:
$ npm install winston-firehose@1.0.6 --save --save-exact
This will install specifically version 1.0.6 of the winston-firehose package and update the package.json accordingly. We need to enforce this version, because our EC2 instance is running an old version of Node.js.
Then, open the helloworld.js file with your code editor.
After the declaration of our winston variable, we will define a new variable ...
Read now
Unlock full access