Remove reference to -sample-config in the telegraf docs

That command has apparently not existed since 1.0.
This commit is contained in:
Jonathan A. Sternberg 2017-09-21 22:47:29 -05:00
parent d049a7de9f
commit 35842761ea
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ $ docker run --net=container:influxdb telegraf
First, generate a sample configuration and save it as `telegraf.conf` on the host: First, generate a sample configuration and save it as `telegraf.conf` on the host:
```console ```console
$ docker run --rm telegraf -sample-config > telegraf.conf $ docker run --rm telegraf telegraf config > telegraf.conf
``` ```
Once you've customized `telegraf.conf`, you can run the Telegraf container with it mounted in the expected location: Once you've customized `telegraf.conf`, you can run the Telegraf container with it mounted in the expected location: