# Time Series visualization Global Filter

**URL:** <https://discuss.elastic.co/t/time-series-visualization-global-filter/177320>\
**Category:** Kibana\
**Created:** [April 17, 2019, 2:41pm UTC](https://discuss.elastic.co/t/time-series-visualization-global-filter/177320 "2019-04-17T14:41:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdmsantos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fdmsantos/32/44281_2.png) [@fdmsantos](https://discuss.elastic.co/u/fdmsantos)\
**Post date:** [April 17, 2019, 2:41pm UTC](https://discuss.elastic.co/t/time-series-visualization-global-filter/177320/1 "2019-04-17T14:41:16Z")

</div>

Hello,

I'm trying to create a time series visualization with two series to see metrics from servers.

My problem is:  
These two series use different json documents. the first serie has a field performancemanager.virtualmachines.name to identify Server name and the second uses inventory.virtualmachines.name to identify Server Name.

I want to filter by Server in Dashboard (Using Global filter or controls). How can do this? If I use the field from the first serie, will affect the second serie.

Is possible to create a mapping in ES/Kibana between these fields? Something like performancemanager.virtualmachines.name field is linked to inventory.virtualmachines.name, so if a create a global filter to performancemanager.virtualmachines.name, the second serie will use this filter in inventory.virtualmachines.name field?

I have been thinking about using scripted fields, I think can be a solution to this, but I want to explore other solutions before getting in scripted fields.

Thanks for help.

Regards,  
Fábio Santos

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [April 19, 2019, 2:23pm UTC](https://discuss.elastic.co/t/time-series-visualization-global-filter/177320/2 "2019-04-19T14:23:40Z")

</div>

Scripted fields could possibly solve your problem but Time Series Visual Builder does not support scripted fields. As of now I can't think of a work around that would solve your problem, this would need to be a new feature for the Time Series Visual Builder.

Would you like to file an issue in our Github repo? [https://github.com/elastic/kibana/issues](https://github.com/elastic/kibana/issues)  
I can do it on your behalf if you would like, if you file it then you will receive notification when the issue is updated or closed. Let me know 😃

---

<div class="post-metadata">

**Author:** ![fdmsantos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fdmsantos/32/44281_2.png) [@fdmsantos](https://discuss.elastic.co/u/fdmsantos)\
**Post date:** [April 22, 2019, 10:01am UTC](https://discuss.elastic.co/t/time-series-visualization-global-filter/177320/3 "2019-04-22T10:01:54Z")

</div>

Hi @simianhacker,

Tks for the answer. I will open the issue today.

Regards,  
Fábio Santos

---

<div class="post-metadata">

**Author:** ![fdmsantos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fdmsantos/32/44281_2.png) [@fdmsantos](https://discuss.elastic.co/u/fdmsantos)\
**Post date:** [April 22, 2019, 11:12am UTC](https://discuss.elastic.co/t/time-series-visualization-global-filter/177320/4 "2019-04-22T11:12:00Z")

</div>

Hi @simianhacker,

What should be a new feature? The time series support scripted fields, or another way to solve this problem?

Regards,  
Fábio Santos

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [April 22, 2019, 3:09pm UTC](https://discuss.elastic.co/t/time-series-visualization-global-filter/177320/5 "2019-04-22T15:09:48Z")

</div>

I would set the title to "Scripted Fields support for Time Series Visual Builder" then describe the problem you're having (like above) and how that would solve it.

---

<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:** [May 20, 2019, 3:09pm UTC](https://discuss.elastic.co/t/time-series-visualization-global-filter/177320/6 "2019-05-20T15:09:53Z")

</div>

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