Browse Source

Merge pull request #1016 from influxdata/master

Remove reference to -sample-config in the telegraf docs
Tianon Gravi 8 years ago
parent
commit
c793061ea4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      telegraf/content.md

+ 1 - 1
telegraf/content.md

@@ -35,7 +35,7 @@ $ docker run --net=container:influxdb telegraf
 First, generate a sample configuration and save it as `telegraf.conf` on the host:
 
 ```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: