VILLASframework
Modular co-simulation framework
InfluxDB

The InfluxDB node-type streams simulation data in real-time to a InfluxDB time-series database using an UDP service and a plain text line protocol.

Each signal of a sample is mapped to one field. VILLASnode maps the signal names of the data source to InfluxDB fields.

See also: InfluxDB documentation

Prerequisites

This node-type does not have any special library dependencies.

Implementation

The source code of the node-type is available here: https://git.rwth-aachen.de/acs/public/villas/node/blob/master/lib/nodes/influxdb.cpp

Configuration

server (string)

A hostname/port combination of the InfluxDB database server.

key (string)

The key is the measurement name and any optional tags separated by commas.

See also: InfluxDB documentation

Example

nodes = {
influxdb_node = {
type = "influxdb",
server = "localhost:8089",
key = "villas"
}
}