Load data points to InfluxDB from a file.

Load data points to InfluxDB from an ION file where each record becomes a data point.

yaml
type: "io.kestra.plugin.influxdb.Load"

Load data points to InfluxDB from an ION file.

yaml
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

InfluxDB connection properties.

The source file URI

URI of the file containing data to be loaded into InfluxDB

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.

Default 1000

Chunk size for each bulk write request

Number of points to include in each write batch

SubType string

List of field names to use as tags

Fields listed here will be added as tags; all others will be added as fields

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