write-data
Write time-series data into InfluxDB using line protocol format, specifying organization, bucket, and timestamp precision for efficient data storage.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | The bucket name | |
data | Yes | Data in InfluxDB line protocol format | |
org | Yes | The organization name | |
precision | No | Timestamp precision (ns, us, ms, s) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"bucket": {
"description": "The bucket name",
"type": "string"
},
"data": {
"description": "Data in InfluxDB line protocol format",
"type": "string"
},
"org": {
"description": "The organization name",
"type": "string"
},
"precision": {
"description": "Timestamp precision (ns, us, ms, s)",
"enum": [
"ns",
"us",
"ms",
"s"
],
"type": "string"
}
},
"required": [
"org",
"bucket",
"data"
],
"type": "object"
}