Write data to InfluxDB using line protocol.

Write data to InfluxDB using InfluxDB line protocol format.

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

Write data to InfluxDB using line protocol.

yaml
id: influxdb_write
namespace: company.team

tasks:
  - id: write
    type: io.kestra.plugin.influxdb.Write
    connection:
      url: "{{ secret('INFLUXDB_URL') }}"
      token: "{{ secret('INFLUXDB_TOKEN') }}"
    org: "my_org"
    bucket: "my-bucket"
    source: |
      measurement,tag=value field=1.0
      measurement,tag=value2 field=2.0
Properties

InfluxDB connection properties.

InfluxDB organization.

The organization to use for operations.

Data in InfluxDB line protocol format

Multiline string in InfluxDB wire format (line protocol)

InfluxDB bucket.

The bucket to use for operations.

Default NS
Possible Values
MSSUSNS

Write precision

The precision for the unix timestamps within the body line-protocol

Number of records written to InfluxDB

InfluxDB token

The authentication token for InfluxDB

InfluxDB server URL

The URL of the InfluxDB server