
InfluxDB Load
CertifiedLoad ION records into InfluxDB
InfluxDB Load
Load ION records into InfluxDB
Reads an ION file from internal storage and writes each object as a point to InfluxDB with nanosecond precision. Uses the provided measurement, batches writes in chunks of 1000 by default, and skips a time field unless timeField is set so InfluxDB assigns the server timestamp.
type: io.kestra.plugin.influxdb.LoadExamples
Load data points to InfluxDB from an ION file.
id: influxdb_load
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: load
type: io.kestra.plugin.influxdb.Load
connection:
url: "{{ secret('INFLUXDB_URL') }}"
token: "{{ secret('INFLUXDB_TOKEN') }}"
org: "{{ secret('INFLUXDB_ORG') }}"
bucket: "{{ secret('INFLUXDB_BUCKET') }}"
from: "{{ inputs.file }}"
measurement: "sensor_data"
Properties
connection *RequiredNon-dynamic
InfluxDB connection
Connection settings (URL, token, optional options) reused across tasks
io.kestra.plugin.influxdb.InfluxDBConnection
InfluxDB token
The authentication token for InfluxDB
InfluxDB server URL
The URL of the InfluxDB server
PT10SConnection timeout.
Connection establishment timeout (ISO-8601 duration, e.g. PT10S). Default is 10 seconds.
PT10SRead timeout.
Maximum time to wait for response bytes (including initial response) (ISO-8601 duration, e.g. PT10S). Default is 10 seconds.
from *Requiredstring
Source file URI
URI in internal storage (e.g., kestra://...) containing the data to load
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
measurement *Requiredstring
Measurement for all points
Measurement applied to every point from the ION file
org *Requiredstring
Organization name
Organization scope for queries and writes
bucket string
Bucket name
Target bucket for write/query operations when required; ignored by Flux queries
chunk integerstring
1000Chunk size per write
Number of points per batch when writing to InfluxDB; defaults to 1000
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
timeField string
Timestamp field name
Field whose value becomes the point timestamp with nanosecond precision; when unset a time key is skipped and InfluxDB assigns the server time
Outputs
recordCount integer
Number of records written to InfluxDB