Skip to content

Commit

Permalink
Add new command-line flag to documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Rebhan committed Oct 14, 2021
1 parent eac1763 commit 0d94a71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/COMMANDS_AND_FLAGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ telegraf [flags]
|`--watch-config` |Telegraf will restart on local config changes. <br> Monitor changes using either fs notifications or polling. Valid values: `inotify` or `poll`.<br> Monitoring is off by default.|
|`--plugin-directory` |directory containing *.so files, this directory will be searched recursively. Any Plugin found will be loaded and namespaced.|
|`--debug` |turn on debug logging|
|`--deprecation-list` |print all deprecated plugins or plugin options|
|`--input-filter <filter>` |filter the inputs to enable, separator is `:`|
|`--input-list` |print available input plugins.|
|`--output-filter <filter>` |filter the outputs to enable, separator is `:`|
Expand Down Expand Up @@ -55,7 +56,7 @@ telegraf [flags]
`telegraf --config telegraf.conf --test`

**Run telegraf with all plugins defined in config file:**

`telegraf --config telegraf.conf`

**Run telegraf, enabling the cpu & memory input, and influxdb output plugins:**
Expand Down

0 comments on commit 0d94a71

Please sign in to comment.