Next, we will validate the REST log appender. Head back to the REST-Logger folder, where we have created our Node.js application to receive the data from the Kaa REST log appenders:
- Start the Node.js server by running the following command:
node server.js
- We should see a message from the server on port 3000. Now, we wait for the data from the device to go to the Kaa IoT middleware and then to this server.
- Once the data starts coming in, we can see the logs as shown here:
We can build any application based on this data, as required, or simply attach a web socket using socket.io (https://socket.io/). You ...