# Filter on Metrics

**URL:** https://discuss.elastic.co/t/filter-on-metrics/111536
**Category:** Kibana
**Created:** [December 13, 2017, 10:26am UTC](https://discuss.elastic.co/t/filter-on-metrics/111536 "2017-12-13T10:26:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aminhk](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@aminhk](https://discuss.elastic.co/u/aminhk)
#### Post date: [December 13, 2017, 10:26am UTC](https://discuss.elastic.co/t/filter-on-metrics/111536/1 "2017-12-13T10:26:23Z")

</div>

Hi guys  
I've created a Line Chart.  
I have 2 Y-Axis.  
I Want to put a filter on one of the Y-Axis. ( for example user=amin)

Filters will be apply to all metrics.  
What should i do ? JSON Input or sth else ?

---

<div class="post-metadata">

### Author: ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)
#### Post date: [December 14, 2017, 7:34pm UTC](https://discuss.elastic.co/t/filter-on-metrics/111536/2 "2017-12-14T19:34:27Z")

</div>

I would probably do something like this with Time Series Visual Builder. In my example I have two filters, `extension:jpg` and `-extension:jpg`, one of them is using the left axis and the other the right axis.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/1/11fe24ffb401ba44ab2fe01391682347e23db6e5.png)

---

<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: [January 11, 2018, 7:34pm UTC](https://discuss.elastic.co/t/filter-on-metrics/111536/3 "2018-01-11T19:34:28Z")

</div>

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