Load data points to InfluxDB from a file.
Load data points to InfluxDB from an ION file where each record becomes a data point.
type: "io.kestra.plugin.influxdb.Load"
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"
InfluxDB connection properties.
The source file URI
URI of the file containing data to be loaded into InfluxDB
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}
.
Measurement name
The measurement name to be used for all points from the ION file
InfluxDB organization.
The organization to use for operations.
InfluxDB bucket.
The bucket to use for operations.
1000
Chunk size for each bulk write request
Number of points to include in each write batch
Field name to use as timestamp
The field containing timestamp values. If null, InfluxDB will use the current time.
Number of records written to InfluxDB
InfluxDB token
The authentication token for InfluxDB
InfluxDB server URL
The URL of the InfluxDB server