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

  1. influx write dryrun [flags]

Flags

FlagDescriptionInput typeMaps to ?
-c—active-configCLI configuration to use for commandstring
-b—bucketBucket namestringINFLUX_BUCKET_NAME
—bucket-idBucket IDstringINFLUX_BUCKET_ID
—configs-pathPath to influx CLI configurations (default ~/.influxdbv2/configs)stringINFLUX_CONFIGS_PATH
—debugOutput errors to stderr
—encodingCharacter encoding of input (default UTF-8)string
-f—fileFile to importstring
—formatInput format (lp or csv, default lp)string
—headerPrepend header line to CSV input datastring
-h—helpHelp for the dryrun command
—hostHTTP address of InfluxDB (default http://localhost:8086)stringINFLUX_HOST
-o—orgOrganization namestringINFLUX_ORG
—org-idOrganization IDstringINFLUX_ORG_ID
-p—precisionPrecision of the timestamps (default ns)stringINFLUX_PRECISION
—skipHeaderSkip first n rows of input datainteger
—skipRowOnErrorOutput CSV errors to stderr, but continue processing
—skip-verifySkip TLS certificate verification
-t—tokenAuthentication tokenstringINFLUX_TOKEN
-u—urlURL to import data fromstring

write