InfluxDB Docs

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

FlagDescriptionInput typeMaps to ?
-b, --bucketBucket namestringINFLUX_BUCKET_NAME
--bucket-idBucket IDstringINFLUX_BUCKET_ID
-f, --fileFile to importstring
--formatInput format (lp or csv, defaults lp)string
-h, --helpHelp for the dryrun command
-o, --orgOrganization namestringINFLUX_ORG
--org-idOrganization IDstringINFLUX_ORG_ID
-p, --precisionPrecision of the timestamps (default ns)stringINFLUX_PRECISION

Global Flags

FlagDescriptionInput typeMaps to ?
--hostHTTP address of InfluxDB (default http://localhost:9999)stringINFLUX_HOST
--localRun commands against the local filesystem
--skip-verifySkip certificate verification (use when connecting over TLS with a self-signed certificate)
-t, --tokenAPI token to use in client callsstringINFLUX_TOKEN

New! Cloud or OSS?