# I need guidance to add built-in input plugin (like MQTT) to telegraf and enabling it. I am using influxdb

**URL:** <https://community.influxdata.com/t/i-need-guidance-to-add-built-in-input-plugin-like-mqtt-to-telegraf-and-enabling-it-i-am-using-influxdb/18883>\
**Category:** Systems\
**Tags:** influxdb, telegraf, windows\
**Created:** [March 15, 2021, 6:24am UTC](https://community.influxdata.com/t/i-need-guidance-to-add-built-in-input-plugin-like-mqtt-to-telegraf-and-enabling-it-i-am-using-influxdb/18883 "2021-03-15T06:24:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijay\_747](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@vijay\_747](https://community.influxdata.com/u/vijay_747)\
**Post date:** [March 15, 2021, 6:24am UTC](https://community.influxdata.com/t/i-need-guidance-to-add-built-in-input-plugin-like-mqtt-to-telegraf-and-enabling-it-i-am-using-influxdb/18883/1 "2021-03-15T06:24:02Z")

</div>

Though i have copied the MQTT plugin configuration and pasted it in my telegraf conf file still there is some lack which i am unable trace out to get metrics from mqtt\_consumer (broker) into influxdb . Using influxdb in my local machine though am successful in tracking default system metrics but it is not displaying any information on mqtt. Really,tried following the telegraf documentaion but still am unable to fill the gaps which can enable mqtt plugin in my influxdb.

Note: i am using influxdb local not cloud version.  
kindly seeking for help in this matter.

---

<div class="post-metadata">

**Author:** ![Franky1](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/franky1/32/6666_2.png) [@Franky1](https://community.influxdata.com/u/Franky1)\
**Post date:** [March 15, 2021, 9:04am UTC](https://community.influxdata.com/t/i-need-guidance-to-add-built-in-input-plugin-like-mqtt-to-telegraf-and-enabling-it-i-am-using-influxdb/18883/2 "2021-03-15T09:04:30Z")

</div>

Does the connection between Telegraf and InfluxDB work in principle?  
Does InfluxDB even get any data from Telegraf?

Does Telegraf spit out any error messages? Use the `--debug` option.

Please post your Telegraf config snippets in Markdown format here:

````markdown
```toml
put the Telegraf config code snippets here
```

````
