Skip to content

Commit

Permalink
change ttn subscribe topic
Browse files Browse the repository at this point in the history
  • Loading branch information
WullT committed Jan 27, 2022
1 parent 075094f commit e7c0f8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/telegraf/telegraf_example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit e7c0f8f

Please sign in to comment.