Skip to Content
Enterprise Internet of Things Handbook
book

Enterprise Internet of Things Handbook

by Arvind Ravulavaru
April 2018
Intermediate to advanced
332 pages
8h 5m
English
Packt Publishing
Content preview from Enterprise Internet of Things Handbook

Validating the REST log appender

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:

  1. Start the Node.js server by running the following command:
node server.js
  1. 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.
  1. 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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Embedded Software for the IoT

Embedded Software for the IoT

Klaus Elk
Building Sensor Networks

Building Sensor Networks

Ioanis Nikolaidis, Krzysztof Iniewski
Architecting the Industrial Internet

Architecting the Industrial Internet

Robert Stackowiak, Carla Romano, Shyam Varan Nath

Publisher Resources

ISBN: 9781788838399Supplemental Content