Storing data coming via MQTT in a database to display it as a chart

0

Hi all, I'm collecting the data from sensors and sending them to AWS via MQTT. I can observe my data coming on MQTT test client in AWS IoT. Now, I would like to store the data in a database and later - to make a chart of it. I routed the data to DynamoDB, but I'm not certain about it, because the whole MQTT (JSON) message is stored in one column and I have no clue if it's even possible to make a chart out of it. Basically, my question is: am I on correct path? Is DynamoDB my friend in this case, or should I use other db/storage? Should I go and parse the MQTT/JSON message before storing? What tool should I use to build a basic chart out of my data?

Sorry for the amount of questions, but I'n very new to AWS and to clouds in general. Your help will be appreciated!

Thank you, Joanna

2개 답변
1

Hi Kohrinn,

which database to use depends on your use-case. AWS provides a bunch of relational and NoSQL databases. If you want to use DynamoDB and store ever key in its own "column", please take a look at the DynamoDBv2 rules action. We do have also a blog about storing and visualizing IoT data with DynamoDB.

Cheers,
Philipp

AWS
전문가
답변함 10달 전
0

Hi Kohrinn. I agree with Philipp's answer. I also recommend this blog for some good patterns: https://aws.amazon.com/blogs/iot/7-patterns-for-iot-data-ingestion-and-visualization-how-to-decide-what-works-best-for-your-use-case/. However, I would say there's more than just these 7 patterns.

Pattern 4 is perhaps one of the simplest patterns for producing visualizations of time series data. One of the simplest, not necessarily the best, or cheapest, or recommended for your use case. This short video may help you achieve that pattern: https://www.youtube.com/watch?v=z8T4hAERuOg .

profile pictureAWS
전문가
Greg_B
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠