From e7c0f8f0ecc29240fdddf2639287b8005223f4ef Mon Sep 17 00:00:00 2001 From: WullT Date: Thu, 27 Jan 2022 13:07:57 +0100 Subject: [PATCH] change ttn subscribe topic --- docker/telegraf/telegraf_example.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/telegraf/telegraf_example.conf b/docker/telegraf/telegraf_example.conf index 7c7d8c9..ba457e9 100644 --- a/docker/telegraf/telegraf_example.conf +++ b/docker/telegraf/telegraf_example.conf @@ -52,7 +52,7 @@ qos = 1 ## Topics to subscribe to - topics = ["+/+/devices/+/up"] + topics = ["v3/+/devices/+/up"] # if true, messages that can't be delivered while the subscriber is offline # will be delivered when it comes back (such as on service restart). @@ -87,6 +87,7 @@ path = "uplink_message.decoded_payload.macfilter" [[inputs.mqtt_consumer.json_v2.object]] path = "uplink_message.decoded_payload" +# excluded_keys = ["node_id"] excluded_keys = ["node_id", "macfilter"] [[inputs.mqtt_consumer.json_v2.object]] path = "uplink_message.locations.user"