| title |
description |
menu |
weight |
aliases |
influxdb/v2.0/tags |
| influx write dryrun |
The `influx write dryrun` command prints write output to stdout instead of writing to InfluxDB. Use this command to test writing data.
|
| influxdb_2_0_ref |
| name |
parent |
| influx write dryrun |
influx write |
|
|
101 |
| /v2.0/reference/cli/influx/write/dryrun/ |
|
|
The influx write dryrun command prints write output to stdout instead of writing
to InfluxDB. Use this command to test writing data.
Supports line protocol and
annotated CSV.
Output is always line protocol.
Usage
influx write dryrun [flags]
Flags
| Flag |
|
Description |
Input type |
{{< cli/mapped >}} |
-b |
--bucket |
Bucket name |
string |
INFLUX_BUCKET_NAME |
|
--bucket-id |
Bucket ID |
string |
INFLUX_BUCKET_ID |
|
--configs-path |
Path to influx CLI configurations (default ~/.influxdbv2/configs) |
string |
INFLUX_CONFIGS_PATH |
|
--debug |
Output errors to stderr |
|
|
|
--encoding |
Character encoding of input (default UTF-8) |
string |
|
-f |
--file |
File to import |
string |
|
|
--format |
Input format (lp or csv, default lp) |
string |
|
|
--header |
Prepend header line to CSV input data |
string |
|
-h |
--help |
Help for the dryrun command |
|
|
|
--host |
HTTP address of InfluxDB (default http://localhost:9999) |
string |
INFLUX_HOST |
-o |
--org |
Organization name |
string |
INFLUX_ORG |
|
--org-id |
Organization ID |
string |
INFLUX_ORG_ID |
-p |
--precision |
Precision of the timestamps (default ns) |
string |
INFLUX_PRECISION |
|
--skipHeader |
Skip first n rows of input data |
integer |
|
|
--skipRowOnError |
Output CSV errors to stderr, but continue processing |
|
|
|
--skip-verify |
Skip TLS certificate verification |
|
|
-t |
--token |
Authentication token |
string |
INFLUX_TOKEN |
-u |
--url |
URL to import data from |
string |
|