From 35842761ea2be153570e369ea06469f1345f69ec Mon Sep 17 00:00:00 2001 From: "Jonathan A. Sternberg" Date: Thu, 21 Sep 2017 22:47:29 -0500 Subject: [PATCH] Remove reference to -sample-config in the telegraf docs That command has apparently not existed since 1.0. --- telegraf/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegraf/content.md b/telegraf/content.md index cdaad653f..eb4894251 100644 --- a/telegraf/content.md +++ b/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: