diff --git a/docs/en/08-third-party/03-telegraf.md b/docs/en/08-third-party/03-telegraf.md index 61cf17c463efc15b05f60671110cdc8377cc5051..4f1d16eab12c50d920da9bc853ac34a1d2cbb664 100644 --- a/docs/en/08-third-party/03-telegraf.md +++ b/docs/en/08-third-party/03-telegraf.md @@ -15,15 +15,23 @@ Please refer to the [official documentation](https://docs.influxdata.com/telegra In the Telegraf configuration file (default location `/etc/telegraf/telegraf.conf`) add an `outputs.http` section. -``` + +```conf [[outputs.http]] - url = "/influxdb/v1/write?db=&token=" + url = "/influxdb/v1/write?db=telegraf&token=" method = "POST" timeout = "5s" data_format = "influx" influx_max_line_bytes = 250 ``` + +You are expected to replace and with TDengine cloud URL and token. To obtain the real value of TDengine URL and token, please log in [TDengine Cloud](https://cloud.tdengine.com) + + +In above configuration example, all data will be written to database `telegraf`, but you can change it to any database you prefer. The database will be created automatically if it dose not exists in advance. + + ## Verification plugin Restart Telegraf service: