Update CONFIGURATION.md (#2516)

Add information about default configuration file locations.  Also mention that the config directory option is available.
This commit is contained in:
Timothy 2017-03-09 06:21:03 -05:00 committed by Cameron Sparr
parent 8ca01a5f5a
commit 94a733219e
1 changed files with 11 additions and 1 deletions

View File

@ -24,6 +24,16 @@ Environment variables can be used anywhere in the config file, simply prepend
them with $. For strings the variable must be within quotes (ie, "$STR_VAR"),
for numbers and booleans they should be plain (ie, $INT_VAR, $BOOL_VAR)
## Configuration file locations
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
the `-config-directory` command line flag is used.
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
configuration files.
# Global Tags
Global tags can be specified in the `[global_tags]` section of the config file
@ -351,4 +361,4 @@ to the system load metrics due to the `namepass` parameter.
[[outputs.file]]
files = ["stdout"]
```
```