updates to config options and influxd docs

pull/1124/head
Scott Anderson 2020-06-18 16:12:40 -06:00
parent c19e212996
commit 687c1e05aa
3 changed files with 20 additions and 5 deletions

View File

@ -21,6 +21,11 @@ influxd [flags]
influxd [command] influxd [command]
``` ```
{{% note %}}
For information about other available InfluxDB configuration methods, see
[InfluxDB configuration options](/v2.0/reference/config-options/).
{{% /note %}}
## Commands ## Commands
| Command | Description | | Command | Description |

View File

@ -20,6 +20,7 @@ It starts and runs all the processes necessary for InfluxDB to function.
influxd run [flags] influxd run [flags]
``` ```
{{% note %}} {{% note %}}
Because `run` is the default command for `influxd`, the following commands are the same: Because `run` is the default command for `influxd`, the following commands are the same:
@ -29,6 +30,11 @@ influxd run
``` ```
{{% /note %}} {{% /note %}}
{{% note %}}
For information about other available InfluxDB configuration methods, see
[InfluxDB configuration options](/v2.0/reference/config-options/).
{{% /note %}}
## Flags ## Flags
{{% cli/influxd-flags %}} {{% cli/influxd-flags %}}

View File

@ -1,17 +1,21 @@
--- ---
title: InfluxDB configuration options title: InfluxDB configuration options
description: > description: >
Customize your InfluxDB configuration by passing configuration flags with the `influxd` daemon, Customize your InfluxDB configuration by passing configuration flags with the
setting environment variables, or defining configuration options in a configuration file. [`influxd` daemon](/v2.0/reference/cli/influxd/), setting environment variables,
or defining configuration options in a configuration file.
menu: menu:
v2_0_ref: v2_0_ref:
name: Configuration options name: Configuration options
weight: 3 weight: 3
products: [oss] products: [oss]
related:
- /v2.0/reference/cli/influxd
--- ---
Customize your InfluxDB configuration by using configuration flags with the `influxd` daemon, Customize your InfluxDB configuration by using configuration flags with the
setting environment variables, or defining configuration options in a configuration file. [`influxd` daemon](/v2.0/reference/cli/influxd/), setting environment variables,
or defining configuration options in a configuration file.
### Configuration precedence ### Configuration precedence
InfluxDB honors configurations settings using the following precedence: InfluxDB honors configurations settings using the following precedence:
@ -22,7 +26,7 @@ InfluxDB honors configurations settings using the following precedence:
### InfluxDB configuration file ### InfluxDB configuration file
When `influxd` starts, it checks for a **`config.yaml` in the current working directory**. When `influxd` starts, it checks for a **`config.yaml` in the current working directory**.
To customize the fiel name or path of the configuration file, set the `INFLUXD_CONFIG_FILE` To customize the file name or path of the configuration file, set the `INFLUXD_CONFIG_FILE`
environment variable to the custom name or path. environment variable to the custom name or path.
InfluxDB supports YAML, TOML, and JSON configuration files. InfluxDB supports YAML, TOML, and JSON configuration files.