Mqtt-how do I put mqtt-messages in to influxdb?

Hi, I want to send Mqtt-mes from iot-device to broker and store in influxdb (without nodered), is this possible? Can influxdb subscribe to Mqtt-topics? IF possible: How should the data be formatted?

Will the Telegraf mqtt plugin work for you?