Dear friend,
The timestamp field format is correct. Sentilo always send it as String, because it is part of a document, not a typed parameter. So, in this way, the template mapping is correct.
Remember that templates are only applied at index creation time. So then you can try changing all formats as you need after the creation. In the other hand, you can change it from the original project module, but this option is not possible with Docker images at the moment.
Regarding the message field, you're right, Sentilo always stores its data in String (text) format. Keep in mind that this field is a multi-purpose content
field, so String is the best approach for it. You can change its format in the Catalog Web Application. For example, you can use the number format for the data, and it only applies to how the webapp shows the data. Or you can set it as JSON format, and the webapp will try to show the message data as a
"pretty formatted
json document map". Or if number format is selected, then it will try to show you it in graphical scale format (lines graph).
We hope now you have the correct data format knowledge.
Feel free to contact us if you have more doubts about it.
Best regards,
Sentilo Team.