# Graph number of hosts

**URL:** <https://community.grafana.com/t/graph-number-of-hosts/5642>\
**Category:** Time Series Panel\
**Created:** [February 21, 2018, 12:35pm UTC](https://community.grafana.com/t/graph-number-of-hosts/5642 "2018-02-21T12:35:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zarg404](https://avatars.discourse-cdn.com/v4/letter/z/a9a28c/32.png) [@zarg404](https://community.grafana.com/u/zarg404)\
**Post date:** [February 21, 2018, 12:35pm UTC](https://community.grafana.com/t/graph-number-of-hosts/5642/1 "2018-02-21T12:35:24Z")

</div>

Hi,

I would like to graph the number of host of a specific measurement in INfluxDB. For some reason I do not get measurements of all my hosts.

I found this request to get all my host names  
SHOW TAG VALUES FROM “main\_current” WITH KEY = “host”

Now, I want to plot this number of host in grafana

Thank you

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [February 21, 2018, 2:12pm UTC](https://community.grafana.com/t/graph-number-of-hosts/5642/2 "2018-02-21T14:12:27Z")

</div>

add `group by host` to your query
