docs-v2/content/influxdb/v2.1/reference/cli/influxd/print-config.md

1.2 KiB

title description influxdb/v2.1/tags menu weight related
influxd print-config The `influxd print-config` command prints a full InfluxDB configuration resolved from the current `influxd` environment.
influxd
cli
influxdb_2_1_ref
parent
influxd
201
/influxdb/v2.1/reference/config-options/

The influxd print-config command prints a full InfluxDB configuration resolved from the current influxd environment. The command formats output as YAML.

Usage

influxd print-config [flags]

{{% note %}} For information about available InfluxDB configuration methods, see InfluxDB configuration options. {{% /note %}}

Flags

Flag Description Input type
-h --help Help for print-config
--key-name Print the value of a specific configuration key string

Examples

Print full influxd configuration
influxd print-config
Print the value of a specific influxd configuration setting
influxd print-config --key-name=http-bind-address