An IoT Kickstart is a Scaleway instance providing an application for a typical IoT use case.
Scaleway will spawn, install and configure the instance for you with the required software so messages flowing through your IoT Hub end up in the application.
The logging Kickstart provides a database and a dashboard to store and visualize log messages transmitted through your IoT Hub.
It will setup and configure the following software on a Scaleway instance:
First go to the Kickstarts page in your Scaleway console and click the
+ button, then :
The kickstart setup process will insert a first log item in the database to make sure it is up and running.
The bridge will connect to your IoT Hub and subscribe to
# (all topics, more information about MQTT topics here. Any valid (see below) message published on your IoT Hub will be stored as a document in the ElasticSearch database.
If message payload is a UTF-8 encoded string, there are 3 possibilities:
valuefield of the document
payloadfield of the document The bridge also adds a
timestampfield to any document.
Let’s try! Add a new device to your hub (allow insecure connections) and grab it’s device id and issue this command (host may vary, check endpoint in your Hub overview page):
mosquitto_pub -h iot.fr-par.scw.cloud -i <device id> -t home/bedroom/temperature -m 19.4
Now open kickstart dashboard (Kibana) and go to Discover page, you should see an item matching the message you just sent.
Congratulations! You now enjoy the power of the ElasticSearch/Kibana combo to support your IoT application.
For more information about Kibana features, see it’s documentation.
Learn more about Scaleway IoT Hub, discover how to add Devices to the hub, check the IoT Hub metrics or learn how to interact with other parts of the Scaleway Elements ecosystem by setting up IoT Hub Routes.