From 3c666a0c22fb08b7d617480a9866abc0b2b4e3da Mon Sep 17 00:00:00 2001 From: timo Date: Fri, 26 Jan 2024 20:21:41 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20conf=20telegraf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Conf pour la version 1.29.2 --- telegraf.conf | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/telegraf.conf b/telegraf.conf index e37f8cf..a954d97 100644 --- a/telegraf.conf +++ b/telegraf.conf @@ -19,17 +19,11 @@ # Configuration for sending metrics to InfluxDB -[[outputs.influxdb]] +[[outputs.influxdb_v2]] urls = ["${INFLUXDB_URL}"] - database = "${INFLUXDB_DATABASE}" - database_tag = "" - skip_database_creation = $INFLUXDB_SKIP_DATABASE_CREATION - retention_policy = "" - write_consistency = "any" - timeout = "30s" - username = "${INFLUXDB_USERNAME}" - password = "${INFLUXDB_PASSWORD}" - + token = "${INFLUXDB_TOKEN}" + organization = "${INFLUXDB_ORG}" + bucket = "${INFLUXDB_BUCKET}" ############################################################################### # INPUT PLUGINS # ###############################################################################