Update config directory documentation
This commit is contained in:
parent
77ae5dacc6
commit
6339228e44
|
@ -27,8 +27,11 @@ for numbers and booleans they should be plain (ie, $INT_VAR, $BOOL_VAR)
|
||||||
## Configuration file locations
|
## Configuration file locations
|
||||||
|
|
||||||
The location of the configuration file can be set via the `--config` command
|
The location of the configuration file can be set via the `--config` command
|
||||||
line flag. Telegraf will also pick up all files matching the pattern `*.conf` if
|
line flag.
|
||||||
the `-config-directory` command line flag is used.
|
|
||||||
|
When the `--config-directory` command line flag is used files ending with
|
||||||
|
`.conf` in the specified directory will also be included in the Telegraf
|
||||||
|
configuration.
|
||||||
|
|
||||||
On most systems, the default locations are `/etc/telegraf/telegraf.conf` for
|
On most systems, the default locations are `/etc/telegraf/telegraf.conf` for
|
||||||
the main configuration file and `/etc/telegraf/telegraf.d` for the directory of
|
the main configuration file and `/etc/telegraf/telegraf.d` for the directory of
|
||||||
|
|
Loading…
Reference in New Issue