InfluxDBv2 Read Query Action
Execute InfluxDBv2 read query completely serverless via Thingsup IoT Platform. Create custom query from MQTT Rules Engine or HTTP APIs.
This provides a way to run InfluxDbv2 read Query. Before adding InfluxDBv2 Read Query Action, user has to define a InfluxDBv2 Connection. User need to provide following parameters to add InfluxDBv2 Read Query Action.
- "payload" object and "Query" String object is available in this code which is directly executed on InfluxDB Connection.
Query = `from(bucket: "bucket") |> range(start: -1h)`
User need to provide Org name of InfluxDB database.
If set to Yes, it modifies raw data into more readable form. And if set to No, it keeps raw data from database
User need to provide a Connection ID of InfluxDBv2 database connection.
Add InfluxDBv2 Read Query Action
Please note the following points:
- "payload" object is supplied from Action Trigger like Rules, Action Command etc.
- Data Response of InfluxDB query will be available as Action Response.
- Only InfluxDB 2.X Databases are supported.