You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Write data to InfluxDB](#write-data-to-influxdb)
18
18
{{< children type="anchored-list" >}}
19
19
20
20
{{% show-in "core,enterprise" %}}
21
21
22
-
> [!Tip]
22
+
> \[!Tip]
23
+
>
23
24
> #### Choose the write endpoint for your workload
24
-
>
25
+
>
25
26
> When creating new write workloads, use the
26
27
> [InfluxDB HTTP API `/api/v3/write_lp` endpoint](/influxdb3/version/write-data/http-api/v3-write-lp/)
27
28
> and [client libraries](/influxdb3/version/write-data/client-libraries/).
28
29
>
29
-
> When bringing existing _v1_ write workloads, use the {{% product-name %}}
30
+
> When bringing existing *v1* write workloads, use the {{% product-name %}}
30
31
> HTTP API [`/write` endpoint](/influxdb3/core/api/v3/#operation/PostV1Write).
31
32
>
32
-
> When bringing existing _v2_ write workloads, use the {{% product-name %}}
33
+
> When bringing existing *v2* write workloads, use the {{% product-name %}}
33
34
> HTTP API [`/api/v2/write` endpoint](/influxdb3/version/api/v3/#operation/PostV2Write).
34
35
>
35
36
> **For Telegraf**, use the InfluxDB v1.x [`outputs.influxdb`](/telegraf/v1/output-plugins/influxdb/) or v2.x [`outputs.influxdb_v2`](/telegraf/v1/output-plugins/influxdb_v2/) output plugins.
@@ -40,19 +41,16 @@ is the text-based format used to write data to InfluxDB.
40
41
{{% product-name %}} provides multiple write endpoints for compatibility with different InfluxDB versions.
41
42
The following table compares timestamp precision support across v1, v2, and v3 write APIs:
> A bug currently prevents abbreviated precision values (`ns`, `n`, `us`, `u`, `ms`, `s`) from working with the `/api/v3/write_lp` endpoint. Use the full names (`nanosecond`, `microsecond`, `millisecond`, `second`) instead. Abbreviated values will be supported in a future release.
Copy file name to clipboardExpand all lines: content/shared/influxdb3-write-guides/http-api/v3-write-lp.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,6 @@ syntax as previous versions of InfluxDB, and supports the following:
21
21
-`millisecond` (milliseconds)
22
22
-`second` (seconds)
23
23
24
-
> \[!Note]
25
-
> A bug currently prevents abbreviated precision values (`ns`, `n`, `us`, `u`, `ms`, `s`) from working with the `/api/v3/write_lp` endpoint. Use the full names (`nanosecond`, `microsecond`, `millisecond`, `second`) instead. Abbreviated values will be supported in a future release.
26
-
27
24
### Auto precision detection
28
25
29
26
When you use `precision=auto` (or omit the parameter), {{% product-name %}} automatically detects the timestamp precision based on the magnitude of the timestamp value:
0 commit comments