# Labeling Legend from influxDB

**URL:** <https://community.grafana.com/t/labeling-legend-from-influxdb/39642>\
**Category:** Grafana\
**Created:** [November 23, 2020, 3:51pm UTC](https://community.grafana.com/t/labeling-legend-from-influxdb/39642 "2020-11-23T15:51:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![archerthompson](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@archerthompson](https://community.grafana.com/u/archerthompson)\
**Post date:** [November 23, 2020, 3:51pm UTC](https://community.grafana.com/t/labeling-legend-from-influxdb/39642/1 "2020-11-23T15:51:33Z")

</div>

I am pulling data from InfluxDB I would like my legend to be labeled either from the “name” or “description” values in the database. How do I go about doing this?  
{“name”:“name here”,“description”:“description here”,“unit”:"",“values”:[{“value”:-2.4,“timestamp”:“2020-11-23T14:32:46.699Z”}]}
