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

Setting up a MongoDB log appender

We are going to log one copy of the data into the MongoDB present inside the Kaa Sandbox. For that, from the left menu, select Pi3-DHT11-App | Log appenders. Next, click on Add log appender and fill in the form as shown:

Field

Value

Name

Pi3-DHT11-MongoDB-Logger

Min schema version

1

Max schema version

Infinite

Confirm delivery

False

Log metadata

Select the following:

  • Endpoint key hash
  • Timestamp
  • Application token
  • Log schema version
  • Header version

Type

MongoDB

MongoDB nodes | Host

localhost

MongoDB nodes | Port

27017

Authentication credentials

--

MongoDB database name

kaa-pi3-dht11-data

Include client profile data

True

Include server ...

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