Core: update to Random numbers sample data

pull/5836/head
meelahme 2025-02-18 12:25:31 -08:00
parent aee653551a
commit 8264b61d13
1 changed files with 12 additions and 1 deletions

View File

@ -608,12 +608,13 @@ transformation functions.
#### Write the random number sample data to InfluxDB
Use the `influxdb3` CLI, InfluxDB v2 API, or InfluxDB v1 API to write the
Use the `influxdb3` CLI, InfluxDB v3 API, InfluxDB v2 API, or InfluxDB v1 API to write the
random number sample data to {{< product-name >}}.
{{< code-tabs-wrapper >}}
{{% code-tabs %}}
[influxdb3](#)
[v3 API](#)
[v2 API](#)
[v1 API](#)
{{% /code-tabs %}}
@ -631,6 +632,16 @@ influxdb3 write \
{{% /code-tab-content %}}
{{% code-tab-content %}}
{{% code-placeholders "AUTH_TOKEN|DATABASE_NAME" %}}
```sh
curl -v "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto&accept_partial=false" \
--data-binary "$(curl --request GET https://docs.influxdata.com/downloads/bitcoin.lp)"
```
{{% /code-placeholders %}}
{{% /code-tab-content %}}
{{% code-tab-content %}}
{{% code-placeholders "AUTH_TOKEN|DATABASE_NAME" %}}
```sh
curl --request POST \