User documentation

Data Model

08/24/2015 03:29 PM

Data that is tracked by the Android Application / Wear-Device is sent to the server using a specific data model based on JSON.
It contains information about the user, the data that has been tracked and a timestamp. The user is described by its prename, name, sex and age. The tracked data currently consists of the heartrate, but can be extended in the future.


08/26/2015 10:32 AM

UDPSender is a class that (currently) takes a DataModel-Object as an input, puts it into correct JSON syntax and sends it to logstash using the UDP-Protocol. You can find the code here

You can also read more about our DataModel here...


08/26/2015 10:43 AM

Logstash is a service that waits for incoming data, changes the data format if needed and forwards it into the Elasticsearch-Cluster. In this specific case, Logstash is listening on port 5000 for incoming JSON data, reads the timestamp field and forwards it into Elasticsearch on port 9200.