# How to parse the tags of influxdb in nodered?

**URL:** https://discourse.nodered.org/t/how-to-parse-the-tags-of-influxdb-in-nodered/50103
**Category:** General
**Created:** [24 August 2021 09:45 UTC](https://discourse.nodered.org/t/how-to-parse-the-tags-of-influxdb-in-nodered/50103 "2021-08-24T09:45:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Nathanli](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@Nathanli](https://discourse.nodered.org/u/Nathanli)
#### Post date: [24 August 2021 09:45 UTC](https://discourse.nodered.org/t/how-to-parse-the-tags-of-influxdb-in-nodered/50103/1 "2021-08-24T09:45:45Z")

</div>

{"host": "test0", "latitude":25, "longitude":111, "temperature":28}

I want to import the uploaded JSON data into the database and set the host as a tag, how can I do that?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [24 August 2021 10:09 UTC](https://discourse.nodered.org/t/how-to-parse-the-tags-of-influxdb-in-nodered/50103/2 "2021-08-24T10:09:01Z")

</div>

Start by reading the help text for the influx node, it will tell you how to format the data with fields and tags.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 September 2021 10:09 UTC](https://discourse.nodered.org/t/how-to-parse-the-tags-of-influxdb-in-nodered/50103/3 "2021-09-07T10:09:55Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
