# Msg.payload to influxdb

**URL:** <https://discourse.nodered.org/t/msg-payload-to-influxdb/9066>\
**Category:** General\
**Created:** [16 March 2019 19:59 UTC](https://discourse.nodered.org/t/msg-payload-to-influxdb/9066 "2019-03-16T19:59:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [16 March 2019 20:59 UTC](https://discourse.nodered.org/t/msg-payload-to-influxdb/9066/2 "2019-03-16T20:59:26Z")

</div>

If you click the icon shown in my screenshot, it will copy the path to the value.  
Paste that into a change node, and it will parse the value in your flow.  
Something like this;

```auto
[{"id":"64e7a938.0aab58","type":"change","z":"a444a9ff.e7a408","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.humidity","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":170,"y":1150,"wires":[["335337e4.8fc348"]]}]

```

![value](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/f/f582b4b244a03898892366304655f38ea8a0e04d.png)

You don't necessarily need a timestamp as influx will add one itself, as it's a time series database.

You then need to setup your influx output node, take a look at the [examples in the influx contrib node](https://flows.nodered.org/node/node-red-contrib-influxdb), and feed the change node into it.

---

_[View the full topic](https://discourse.nodered.org/t/msg-payload-to-influxdb/9066)._
