# Storing of user-tags

**URL:** <https://discuss.elastic.co/t/storing-of-user-tags/173764>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [March 25, 2019, 1:46pm UTC](https://discuss.elastic.co/t/storing-of-user-tags/173764 "2019-03-25T13:46:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [March 25, 2019, 1:46pm UTC](https://discuss.elastic.co/t/storing-of-user-tags/173764/1 "2019-03-25T13:46:51Z")

</div>

Hi,

I start esrally with such commands:

`esrally --offline --track=geonames --target-hosts=es-server:9200 --pipeline=benchmark-only --user-tag="testrunName:bindmount_3,cluster:bindmount,env:docker,ver:6.6.2,cpu:8,JMX:4GB,laps:1,storageType:bindmount,StorageDriver:overlay2,aloneOnLoadGenerator:yes,Iteration:3" --laps=1`

I am confused about storing the user-tags provided by esrally in when storing metrics in elastcsearch. Lets take the example tag **Iteration**

```
index field name
----- ----------
rally-metrics	meta.tag_Iteration
rally-races user-tags.Iteration
rally-results	user-tags.Iteration

```

As you can see it is stored below **meta.** instead of **user-tags.**

Is this a feature or a bug? I suppose it to be the last one.  
I want to combine summary of results with metrics in the same dashboard. And I want to filter on my tags.

How can I do this?  
Can I create an **alias** in index rally-metrics with the name user-tags.Iteration which points to meta.tag\_Iteration and which is available for filtering / aggregations?

Thanks,  
Andreas

---

<div class="post-metadata">

**Author:** ![Evgenia\_Badiyanova](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evgenia_badiyanova/32/84068_2.png) [@Evgenia\_Badiyanova](https://discuss.elastic.co/u/Evgenia_Badiyanova)\
**Post date:** [March 28, 2019, 1:43pm UTC](https://discuss.elastic.co/t/storing-of-user-tags/173764/2 "2019-03-28T13:43:22Z")

</div>

Hello Andreas,

In `rally-metrics` to filter on `user-tags.X` you will instead need to filter on `meta.tag_X`. For historical reasons we are storing it under `meta`. If you’re after long-time trends it’s best to use rally-results because you usually only need one data point per race but if you want to do a more detailed and fine-grained analysis you will want to rely on the raw data in rally-metrics.

Thank you,  
Evgenia

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 25, 2019, 1:43pm UTC](https://discuss.elastic.co/t/storing-of-user-tags/173764/3 "2019-04-25T13:43:23Z")

</div>

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