# Can't get all tags

**URL:** <https://community.influxdata.com/t/cant-get-all-tags/21259>\
**Category:** Fluxlang\
**Created:** [August 17, 2021, 1:25pm UTC](https://community.influxdata.com/t/cant-get-all-tags/21259 "2021-08-17T13:25:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl\_Markham](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/carl_markham/32/8094_2.png) [@Carl\_Markham](https://community.influxdata.com/u/Carl_Markham)\
**Post date:** [August 17, 2021, 1:25pm UTC](https://community.influxdata.com/t/cant-get-all-tags/21259/1 "2021-08-17T13:25:21Z")

</div>

I am using the following flux query to get all tags for a measurement:

```auto
import "influxdata/influxdb/schema"
schema.measurementTagKeys(bucket: "Test", measurement: "orders")

```

However, I don’t see the tags output. I expected to see `currency` and `host` but I instead see `_start` and `_stop`

As you can see below, currency and host are there.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/f/f515c3640b4f13bb47b011ab3909bd32fab065b4.png)

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [August 17, 2021, 4:52pm UTC](https://community.influxdata.com/t/cant-get-all-tags/21259/2 "2021-08-17T16:52:02Z")

</div>

Hello @Carl_Markham,  
Welcome. I’m not sure what’s going on there. It works for me.

 ![Screen Shot 2021-08-17 at 11.48.37 AM](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/a/a80a04f8d330de92e70c40a658e4ba674b988b50.png)

Can you try creating a new bucket “test” and then running the following?

```auto
import "experimental/array"

array.from(rows: [
  {_time: 2020-01-01T00:00:00Z, _field: "exampleField", _value: 3, foo1: "bar", _measurement: "test_meas"},
  {_time: 2020-01-01T00:01:00Z, _field: "exampleField", _value: 4, foo2: "bar", _measurement: "test_meas"},
  {_time: 2020-01-01T00:02:00Z, _field: "exampleField", _value: 1, foo3: "bar", _measurement: "test_meas"}
])
|> to(bucket: "test")

```

Verify that you’ve written 3 points, and then running the schema.measurementTagKeys function again?  
Thank you!
