iotkaa

Getting Data from Kaa server without using Log Apender


I am using Kaa client to pump data to Kaa server. I want to fetch this data in order to showcase on a client application. With the use of Log Appenders, I am able to do so. However, is it possible to do the same without adding any external db? I read in Kaa documentation that by default, Kaa stores data to MySQL (MaraidB / PostGre). However, when I tried to access Mysql (which is part of Kaa Sandbox), I was unable to do so. Can anyone tell how can we do this?


Solution

  • Yes, Kaa should be configured to append the gathered telemetry to some Log Appender (one can also create a Customer Log Appender with specific functionality if required) or even a set of Log Appenders - depending on the use case.

    The easiest way is to configure one of the existing Log Appenders to log the data to e.g. Cassandra and then retrieve the data from there.

    Should you need real time triggering of some actions depending on the data received from client(s), you would probably need to try developing a Custom Log Appender for that.