Deploy sysstat
to collect system performance data every 60 seconds, enabling real-time visibility and historical analysis.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
opensearch: | |
image: opensearchproject/opensearch:${OPENSEARCH_VERSION:-latest} | |
container_name: opensearch | |
environment: | |
discovery.type: single-node | |
node.name: opensearch | |
OPENSEARCH_JAVA_OPTS: "-Xms512m -Xmx512m" |
Getting data produced by IoT sensors into a database is practically a mandatory step before effective visualisation (eg dashboards).
This recipe shows you how to get an MQTT payload into an InfluxDB database using three Node-Red nodes. It makes the following assumptions:
- A client device of some kind publishing data to a topic via the MQTT protocol;
- Mosquitto (MQTT broker);