Skip to main content
Version: Streamsheets 2.4

INFLUX.STORE

star This is a premium feature.

Performs a STORE query on your Influx database. You can use the Function Wizard for this function.

Syntax

=INFLUX.STORE(Producer, Measurement, Values-JSON [, Tags-JSON, Target, Duration, Instant, Timeout])

Arguments

NameDescription
ProducerProducer to use for querying. The database name is configured in the affiliated Connector.
MeasurementName of the measurement to store values to. Note: its fully qualified name will be written to target range, if provided.
ValuesA JSON with key/value pairs to store.
TagsOptional.A JSON with key/value pairs to tag stored values.
TargetOptional. INBOX(), OUTBOX("MsgID") or a cell range where the result will be placed. Make sure the cell range is big enough or not everything is displayed.
DurationOptional. Defines how long stored values should be kept. Duration is a number plus a time unit. Valid units are "ms" for milliseconds, "s" for second, "m" for minute, "h" for hour, "d" for day and "w" for week. To specifiy infinity use "INF". Minimum value is one hour. Default value is "INF".
InstantOptional. If set to true the store query is immediately performed. Note: use with care, since this can overload InfluxDB very quickly. Default is false.
TimeoutOptional. Defines Timeout to perform query.

Return Value

TRUE, if no error.

Examples

Select

FunctionResultComment
=INFLUX.STORE(InfluxDB_Producer, B2,JSON(B2:C5),,E2:G5,"1h")TRUE
info

Designed for Influx version 1.x.