# \#mqtt

**URL:** https://community.influxdata.com/tag/mqtt/95.md

[Latest](https://community.influxdata.com/latest.md) · [Categories](https://community.influxdata.com/categories.md) · [Tags](https://community.influxdata.com/tags.md)

---

## [Newbie: remapping tags and processor pivot](https://community.influxdata.com/t/newbie-remapping-tags-and-processor-pivot/58190)

<div class="topic-metadata">

**Author:** [@caseyd](https://community.influxdata.com/u/caseyd)\
**Replies:** 1\
**Last updated:** [January 2, 2026, 7:35pm UTC](https://community.influxdata.com/t/newbie-remapping-tags-and-processor-pivot/58190 "2026-01-02T19:35:27Z")

</div>

Hi Folks. I’m exploring Telegraf to consume some MQTT data from a set of devices living off in the woods. ( long story ). I feel like I am missing some core concepts. anyway specifically here’s what’s up: I’m starting …

---

## [Error writing to outputs.influxdb\_v2 with 422 Unprocessable Entity](https://community.influxdata.com/t/error-writing-to-outputs-influxdb-v2-with-422-unprocessable-entity/58167)

<div class="topic-metadata">

**Author:** [@Marty\_Belleville](https://community.influxdata.com/u/Marty_Belleville)\
**Replies:** 4\
**Last updated:** [December 17, 2025, 12:22am UTC](https://community.influxdata.com/t/error-writing-to-outputs-influxdb-v2-with-422-unprocessable-entity/58167 "2025-12-17T00:22:09Z")

</div>

I’ve written a pretty small telegraf file to pull data from Solar Assistant into/through Influxdb and telegraf for output into Grafana. The file works well enough and my Grafana output is just what I need. The issue co…

---

## [Telegraf 422 Unprocessable Entity - Error writing to outputs.influxdb\_v2](https://community.influxdata.com/t/telegraf-422-unprocessable-entity-error-writing-to-outputs-influxdb-v2/58095)

<div class="topic-metadata">

**Author:** [@Marty\_Belleville](https://community.influxdata.com/u/Marty_Belleville)\
**Replies:** 0\
**Last updated:** [November 17, 2025, 3:39pm UTC](https://community.influxdata.com/t/telegraf-422-unprocessable-entity-error-writing-to-outputs-influxdb-v2/58095 "2025-11-17T15:39:08Z")

</div>

Need help with a minor issue troubling my telegraf conf file. The telegraf logs shows this repeating error and I can’t find what I’m doing wrong. It’s a simple query to Solar Assistant to extract its data into my Influx…

---

## [How to write data to multiple buckets](https://community.influxdata.com/t/how-to-write-data-to-multiple-buckets/57773)

<div class="topic-metadata">

**Author:** [@Nils\_Franke](https://community.influxdata.com/u/Nils_Franke)\
**Replies:** 5\
**Last updated:** [September 23, 2025, 9:34am UTC](https://community.influxdata.com/t/how-to-write-data-to-multiple-buckets/57773 "2025-09-23T09:34:18Z")

</div>

Hi there! I recieve different messages (jsonv2) from one sensor and would like to put different messages into different buckets. This is my config at the moment: \[\[outputs.influxdb\_v2\]\] urls = \["http://127.0.0.1:808…

---

## [Mismatch between data from Telegraf and Influx](https://community.influxdata.com/t/mismatch-between-data-from-telegraf-and-influx/57757)

<div class="topic-metadata">

**Author:** [@Nils\_Franke](https://community.influxdata.com/u/Nils_Franke)\
**Replies:** 13\
**Last updated:** [August 18, 2025, 4:52pm UTC](https://community.influxdata.com/t/mismatch-between-data-from-telegraf-and-influx/57757 "2025-08-18T16:52:37Z")

</div>

Greetings! Unfortunately I have a small yet annoying issue with Telegraf and Influx: I am getting MQTT-Messages in json.v2 format containing energy consumption of the last 30 days. Since telegraf cant handle arrays, t…

---

## [I’m developing a cloud-based SCADA application that integrates with InfluxDB for time-series data storage and visualization. The platform will provide user profiles, live dashboards, and real-time analytics for industrial automation data.](https://community.influxdata.com/t/i-m-developing-a-cloud-based-scada-application-that-integrates-with-influxdb-for-time-series-data-storage-and-visualization-the-platform-will-provide-user-profiles-live-dashboards-and-real-time-analytics-for-industrial-automation-data/57602)

<div class="topic-metadata">

**Author:** [@BUDDHABHUSHAN23](https://community.influxdata.com/u/BUDDHABHUSHAN23)\
**Replies:** 0\
**Last updated:** [July 14, 2025, 3:59pm UTC](https://community.influxdata.com/t/i-m-developing-a-cloud-based-scada-application-that-integrates-with-influxdb-for-time-series-data-storage-and-visualization-the-platform-will-provide-user-profiles-live-dashboards-and-real-time-analytics-for-industrial-automation-data/57602 "2025-07-14T15:59:19Z")

</div>

I’m developing a cloud-based SCADA application that integrates with InfluxDB for time-series data storage and visualization. The platform will provide user profiles, live dashboards, and real-time analytics for industria…

---

## [Write data despite missing tag value](https://community.influxdata.com/t/write-data-despite-missing-tag-value/56961)

<div class="topic-metadata">

**Author:** [@cortlieb](https://community.influxdata.com/u/cortlieb)\
**Replies:** 5\
**Last updated:** [June 26, 2025, 1:13pm UTC](https://community.influxdata.com/t/write-data-despite-missing-tag-value/56961 "2025-06-26T13:13:51Z")

</div>

Hi, I’m using Telegraf with the MQTT-Input-Plugin to write data to an InfluxDB. I’m parsing the input from the MQTT-source as JSON. Here is a part of my configuration conf-file: \[\[inputs.mqtt\_consumer.json\_v2\]\] \[\[in…

---

## [Telegraf input plugin "mqtt\_consumer" stops working](https://community.influxdata.com/t/telegraf-input-plugin-mqtt-consumer-stops-working/39406)

<div class="topic-metadata">

**Author:** [@cortlieb](https://community.influxdata.com/u/cortlieb)\
**Replies:** 7\
**Last updated:** [June 16, 2025, 9:05am UTC](https://community.influxdata.com/t/telegraf-input-plugin-mqtt-consumer-stops-working/39406 "2025-06-16T09:05:51Z")

</div>

I’m using the inputs.mqtt\_consumer plugin to retrieve some data from a LoRaWAN networkserver (TTN). I noticed recently that no more data where written into my InfluxDB. I restarted telegraf and data were written again. …

---

## [New to Telegraf](https://community.influxdata.com/t/new-to-telegraf/57288)

<div class="topic-metadata">

**Author:** [@redian](https://community.influxdata.com/u/redian)\
**Replies:** 4\
**Last updated:** [May 28, 2025, 6:11am UTC](https://community.influxdata.com/t/new-to-telegraf/57288 "2025-05-28T06:11:25Z")

</div>

Hi, beginner here. This far I’ve only ever used the API using the Line Protokoll for writing data. I am trying to setup a logger to an InfluxDB via telegraf with MQTT broker. I managed to esablish a connection and eve…

---

## [MQTT consumer is not including data from one specific topic (zigbee2mqtt/+)](https://community.influxdata.com/t/mqtt-consumer-is-not-including-data-from-one-specific-topic-zigbee2mqtt/55759)

<div class="topic-metadata">

**Author:** [@ktos](https://community.influxdata.com/u/ktos)\
**Replies:** 3\
**Last updated:** [February 20, 2025, 2:31pm UTC](https://community.influxdata.com/t/mqtt-consumer-is-not-including-data-from-one-specific-topic-zigbee2mqtt/55759 "2025-02-20T14:31:34Z")

</div>

To be honest, I am horribly confused and I have no idea what’s going on. I have even checked out everything with almost empty config, and it’s still not working. I have a telegraf config: \[global\_tags\] dc = "localhost"…

---

## [Telegraf MQTT JSON Parsing](https://community.influxdata.com/t/telegraf-mqtt-json-parsing/56403)

<div class="topic-metadata">

**Author:** [@JoJo](https://community.influxdata.com/u/JoJo)\
**Replies:** 0\
**Last updated:** [February 16, 2025, 3:12pm UTC](https://community.influxdata.com/t/telegraf-mqtt-json-parsing/56403 "2025-02-16T15:12:18Z")

</div>

Hello community, after a long time trying to find a solution, I’m asking for help here. I would like to import all the data sent by a MQTT string into an InfluxDB database. Then visualize the data with Grafana. This i…

---

## [Processors are not executed when using mqtt.topic\_parsing](https://community.influxdata.com/t/processors-are-not-executed-when-using-mqtt-topic-parsing/56394)

<div class="topic-metadata">

**Author:** [@Rynzelpryf\_C](https://community.influxdata.com/u/Rynzelpryf_C)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 8:37am UTC](https://community.influxdata.com/t/processors-are-not-executed-when-using-mqtt-topic-parsing/56394 "2025-02-14T08:37:04Z")

</div>

Hi everyone, i am faced with the problem that in my telegraf.conf the processors (regex & enum) are not executed when the \[\[inputs.mqtt\_consumer.topic\_parsing\]\] is used! With out this table it works fine. Beside the fac…

---

## [MQTT topic parsing: Pivoting doesn't work](https://community.influxdata.com/t/mqtt-topic-parsing-pivoting-doesnt-work/49219)

<div class="topic-metadata">

**Author:** [@alexander-zimmermann](https://community.influxdata.com/u/alexander-zimmermann)\
**Replies:** 2\
**Last updated:** [January 4, 2025, 8:41am UTC](https://community.influxdata.com/t/mqtt-topic-parsing-pivoting-doesnt-work/49219 "2025-01-04T08:41:13Z")

</div>

I follow the example https://www.influxdata.com/blog/pivot-mqtt-plugin/ to rotate values from a vertical format into a horizontal format. \[\[inputs.mqtt\_consumer\]\] servers = \["tcp://mqtt.XXX:1883"\] ## Username and p…

---

## [Inputs.mqtt\_consumer stoped to work after update to Telegraf 1.33.0](https://community.influxdata.com/t/inputs-mqtt-consumer-stoped-to-work-after-update-to-telegraf-1-33-0/39980)

<div class="topic-metadata">

**Author:** [@MarioLuzeiro](https://community.influxdata.com/u/MarioLuzeiro)\
**Replies:** 0\
**Last updated:** [December 27, 2024, 11:53pm UTC](https://community.influxdata.com/t/inputs-mqtt-consumer-stoped-to-work-after-update-to-telegraf-1-33-0/39980 "2024-12-27T23:53:49Z")

</div>

I updated my system (new installation, updated influxdb, telegraf, grafana etc, restored backups). I got everything back to work again except one telegraf processor script. Telegraf 1.33.0 \[\[inputs.mqtt\_consumer\]\] in…

---

## [\[inputs.mqtt\_consumer\] Error in plugin: cannot parse with empty selection node](https://community.influxdata.com/t/inputs-mqtt-consumer-error-in-plugin-cannot-parse-with-empty-selection-node/39833)

<div class="topic-metadata">

**Author:** [@Branko](https://community.influxdata.com/u/Branko)\
**Replies:** 0\
**Last updated:** [December 14, 2024, 6:51pm UTC](https://community.influxdata.com/t/inputs-mqtt-consumer-error-in-plugin-cannot-parse-with-empty-selection-node/39833 "2024-12-14T18:51:49Z")

</div>

Hi there, I’m unable to parse data from a Tasmota device via MQTT. JSON contains two power meter sensors. I like to get the data for PwrZ1 and PwrZ2. Any hints on this? I’m lost here. Thank you! :slight\_smile: I get t…

---

## [Syncronyze data from the same topic but different objects via MQTT](https://community.influxdata.com/t/syncronyze-data-from-the-same-topic-but-different-objects-via-mqtt/39551)

<div class="topic-metadata">

**Author:** [@JMU](https://community.influxdata.com/u/JMU)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 1:24pm UTC](https://community.influxdata.com/t/syncronyze-data-from-the-same-topic-but-different-objects-via-mqtt/39551 "2024-12-11T13:24:21Z")

</div>

Hello everybody, We are ingesting data from MQTT from a topic called “Ordenes”. This topic contains two fields: “Cliente” and “Fecha inicio orden”. Each field comes from two threads, so MQTT structures them as two separ…

---

## [Asign Timestamp from mqtt via Telegraf](https://community.influxdata.com/t/asign-timestamp-from-mqtt-via-telegraf/39181)

<div class="topic-metadata">

**Author:** [@JMU](https://community.influxdata.com/u/JMU)\
**Replies:** 7\
**Last updated:** [November 18, 2024, 10:47am UTC](https://community.influxdata.com/t/asign-timestamp-from-mqtt-via-telegraf/39181 "2024-11-18T10:47:22Z")

</div>

Hi everyone! We are having few problems writing the timestamp from mqtt to InfluxDB through Telegraf. This is the part of the configuration file that applies the input from mqtt queue: \[\[inputs.mqtt\_consumer\]\] ## Br…

---

## [Correct way to configure json\_v2 with mqtt\_consumer](https://community.influxdata.com/t/correct-way-to-configure-json-v2-with-mqtt-consumer/38671)

<div class="topic-metadata">

**Author:** [@monotux](https://community.influxdata.com/u/monotux)\
**Replies:** 3\
**Last updated:** [October 8, 2024, 12:32pm UTC](https://community.influxdata.com/t/correct-way-to-configure-json-v2-with-mqtt-consumer/38671 "2024-10-08T12:32:06Z")

</div>

I’ve spent some time trying to understand how to use json\_v2 with my mqtt\_consumer flow, without any luck. :frowning: My json payload looks like this: { "model": "Bresser-3CH", "id": 130, "channel": 1, …

---

## [Telegarf agent is getting into crashLoopBackOff because of unavailability of the MQTT consumer endpoint](https://community.influxdata.com/t/telegarf-agent-is-getting-into-crashloopbackoff-because-of-unavailability-of-the-mqtt-consumer-endpoint/35609)

<div class="topic-metadata">

**Author:** [@Rishav\_Kumar\_Jha](https://community.influxdata.com/u/Rishav_Kumar_Jha)\
**Replies:** 2\
**Last updated:** [September 18, 2024, 7:44pm UTC](https://community.influxdata.com/t/telegarf-agent-is-getting-into-crashloopbackoff-because-of-unavailability-of-the-mqtt-consumer-endpoint/35609 "2024-09-18T19:44:25Z")

</div>

I was trying to deploy telegraf-agent pod with the below configuration file: \[\[inputs.mqtt\_consumer\]\] alias = "input\_mqtt\_consumer\_host" servers = \[ "mqtt://mqtt:1883" \] topics = \[ …

---

## [Telegram and Mosquitto with TSL](https://community.influxdata.com/t/telegram-and-mosquitto-with-tsl/35445)

<div class="topic-metadata">

**Author:** [@Rosario\_Iameo](https://community.influxdata.com/u/Rosario_Iameo)\
**Replies:** 4\
**Last updated:** [August 28, 2024, 11:29am UTC](https://community.influxdata.com/t/telegram-and-mosquitto-with-tsl/35445 "2024-08-28T11:29:07Z")

</div>

Dear All, i have a mosquitto broker that accept only TSL connection, below the configuration of telegraf consumer \[\[inputs.mqtt\_consumer\]\] servers = \["ssl://10.0.1.13:8883"\] ## Topics that will be subscribed to. …

---

## [Parsing an array from mqtt topic](https://community.influxdata.com/t/parsing-an-array-from-mqtt-topic/26630)

<div class="topic-metadata">

**Author:** [@oh2th](https://community.influxdata.com/u/oh2th)\
**Replies:** 7\
**Last updated:** [August 26, 2024, 12:58pm UTC](https://community.influxdata.com/t/parsing-an-array-from-mqtt-topic/26630 "2024-08-26T12:58:09Z")

</div>

I have a go-eCharger that can be managed also with MQTT. Two of the topics it send are arrays such as: go-eCharger/201397/nrg = \[233.74,2.48,3.41,1.24,0,0,0,0,0,0,0,0,0,0,0,0\] go-eCharger/201397/tma = \[35.5,30.5\] No I…

---

## [MQTT telegraf InfluxDB only getting data-points every 10 seconds](https://community.influxdata.com/t/mqtt-telegraf-influxdb-only-getting-data-points-every-10-seconds/35076)

<div class="topic-metadata">

**Author:** [@reech.out](https://community.influxdata.com/u/reech.out)\
**Replies:** 2\
**Last updated:** [July 29, 2024, 12:55pm UTC](https://community.influxdata.com/t/mqtt-telegraf-influxdb-only-getting-data-points-every-10-seconds/35076 "2024-07-29T12:55:44Z")

</div>

Hello, According to what I’ve read until now, the inputs.mqtt\_consumer should be pushing messages through as it receives them (in my case the topic of interest is publishing about once per second). However InfluxDB on…

---

## [Configure Telegraf for nested array of timestamps and data](https://community.influxdata.com/t/configure-telegraf-for-nested-array-of-timestamps-and-data/35021)

<div class="topic-metadata">

**Author:** [@natwez22](https://community.influxdata.com/u/natwez22)\
**Replies:** 1\
**Last updated:** [July 22, 2024, 9:38pm UTC](https://community.influxdata.com/t/configure-telegraf-for-nested-array-of-timestamps-and-data/35021 "2024-07-22T21:38:13Z")

</div>

I have a json array coming in over mqtt that looks like the following { "Sensor1": { "Time": \[ 1721423157027428600, 1721423157031428600, 1721423157035428600, 1721423157039428600, 1721…

---

## [Process an array of json data](https://community.influxdata.com/t/process-an-array-of-json-data/34964)

<div class="topic-metadata">

**Author:** [@Rishav\_Kumar\_Jha](https://community.influxdata.com/u/Rishav_Kumar_Jha)\
**Replies:** 1\
**Last updated:** [July 15, 2024, 3:13pm UTC](https://community.influxdata.com/t/process-an-array-of-json-data/34964 "2024-07-15T15:13:44Z")

</div>

I have setup the “mqtt\_consume” input plugin for my telegraf agent. The configuration is shown below: \[\[inputs.mqtt\_consumer\]\] alias = "input\_mqtt\_consumer\_tsesre\_node" servers = \[ "mqtt://constellat…

---

## [MQTT parsing collectd data](https://community.influxdata.com/t/mqtt-parsing-collectd-data/34948)

<div class="topic-metadata">

**Author:** [@MarioLuzeiro](https://community.influxdata.com/u/MarioLuzeiro)\
**Replies:** 1\
**Last updated:** [July 13, 2024, 10:15pm UTC](https://community.influxdata.com/t/mqtt-parsing-collectd-data/34948 "2024-07-13T22:15:45Z")

</div>

I’m receiving collectd data via collectd-mod-mqtt plugin (openwrt). it sends on the data in format timestamp:value\\x00 that is a zero at the end. I was able to parse it using CSV data format, as string, and then I can…

---

## [Parsing string values in a confusing JSON payload](https://community.influxdata.com/t/parsing-string-values-in-a-confusing-json-payload/34859)

<div class="topic-metadata">

**Author:** [@johnstonjs](https://community.influxdata.com/u/johnstonjs)\
**Replies:** 3\
**Last updated:** [July 9, 2024, 8:40pm UTC](https://community.influxdata.com/t/parsing-string-values-in-a-confusing-json-payload/34859 "2024-07-09T20:40:12Z")

</div>

I’ve run into a challenging data parsing problem, and would appreciate any help from more expert users here. How can I use telegraf to parse the only string value of a JSON payload, and split it into two float data poin…

---

## [Reading Tasmota Mqtt Content](https://community.influxdata.com/t/reading-tasmota-mqtt-content/34671)

<div class="topic-metadata">

**Author:** [@Paddy65305](https://community.influxdata.com/u/Paddy65305)\
**Replies:** 13\
**Last updated:** [June 26, 2024, 5:55pm UTC](https://community.influxdata.com/t/reading-tasmota-mqtt-content/34671 "2024-06-26T17:55:24Z")

</div>

I have a ESP32 with Tasmota how is put to the digital electricity meter to get the information. this send to Topics: one on Tasmota/STATUS10 every 15min: {“StatusSNS”:{“Time”:“2024-06-22T10:00:01”,“MT175”:{“E\_in”:1264…

---

## [Using topic as a part of name](https://community.influxdata.com/t/using-topic-as-a-part-of-name/34527)

<div class="topic-metadata">

**Author:** [@WLagg](https://community.influxdata.com/u/WLagg)\
**Replies:** 3\
**Last updated:** [June 10, 2024, 2:07pm UTC](https://community.influxdata.com/t/using-topic-as-a-part-of-name/34527 "2024-06-10T14:07:46Z")

</div>

Hi, I am trying to use topics that are collected with mqtt\_consumer as a part of name. I tried to achieve that with processors.override but I don’t know how to get topic value. thanks in advance

---

## [Handling mqtt 5 properties in telegraf](https://community.influxdata.com/t/handling-mqtt-5-properties-in-telegraf/25255)

<div class="topic-metadata">

**Author:** [@sezanzeb](https://community.influxdata.com/u/sezanzeb)\
**Replies:** 5\
**Last updated:** [June 10, 2024, 9:06am UTC](https://community.influxdata.com/t/handling-mqtt-5-properties-in-telegraf/25255 "2024-06-10T09:06:22Z")

</div>

Hey, I’d like to put user-properties from mqtt 5 messages into tags in influxdb. I haven’t been able to find anything related to telegraf and mqtt 5 properties. Are they not supported at all? Thanks.

---

## [Telegraf MQTT to Influxdb - Add custom field for current date](https://community.influxdata.com/t/telegraf-mqtt-to-influxdb-add-custom-field-for-current-date/34437)

<div class="topic-metadata">

**Author:** [@dmorel](https://community.influxdata.com/u/dmorel)\
**Replies:** 5\
**Last updated:** [June 5, 2024, 12:43pm UTC](https://community.influxdata.com/t/telegraf-mqtt-to-influxdb-add-custom-field-for-current-date/34437 "2024-06-05T12:43:53Z")

</div>

Hello, I have set my telegraf config for write my Json topic was write in collection in Influxdb. It works well. But i want add the current date like a field for know the write date. How can i make this in my \[\[input…

[Next page](https://community.influxdata.com/tag/mqtt/95.md?match_all_tags=true&page=1&tags%5B%5D=mqtt)
