# Want to set 'measurement.name' as a filter

**URL:** <https://discuss.elastic.co/t/want-to-set-measurement-name-as-a-filter/268738>\
**Category:** Kibana\
**Created:** [March 30, 2021, 7:25am UTC](https://discuss.elastic.co/t/want-to-set-measurement-name-as-a-filter/268738 "2021-03-30T07:25:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jungeun](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@Jungeun](https://discuss.elastic.co/u/Jungeun)\
**Post date:** [March 30, 2021, 7:25am UTC](https://discuss.elastic.co/t/want-to-set-measurement-name-as-a-filter/268738/1 "2021-03-30T07:25:34Z")

</div>

1. If you look at the picture attached, I'm trying to visualize the value of "measurement.value" according to "measurement.name" with "up.version". However, I cannot get the value based on the "measurement.name’ from the Y-axis bucket. If you know how to set it up, can you tell me how can I add several filters on Y-axis so we can follow several values from test results?

Attached [Discover veiw] and [Expecting Visualize view]

1. Connecting the question with the above, I try to print those "measurement.value" on Y-axis using JSON format in the advanced part, but I got this error. I searched ‘[essaggs] \> Internal Server Error’ on google, and I think I need some kind of permission to add those JSON inputs maybe? Can you let me know what’s the problem and how can I add those filters to visualization tab.

 ![Qustion2_kibana](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb2d61c966f88e5ee8bca1867c4110a778757381.png) ![expecting visualization view](https://us1.discourse-cdn.com/elastic/original/3X/3/a/3a381e52c7569a379cf3ede35dd91f03b521e013.png) ![discover view](https://us1.discourse-cdn.com/elastic/original/3X/d/0/d06b140ce709fffd3a1a1d81404334fa995bb0c0.png)

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [March 30, 2021, 9:39am UTC](https://discuss.elastic.co/t/want-to-set-measurement-name-as-a-filter/268738/2 "2021-03-30T09:39:24Z")

</div>

Hey there,

I am not completely sure if I understand you correctly, but I'll try to help.  
Can't you just add a filter to the visualization by using 'Add filter' and listing the values for "measurement.value" just like I did for 'day\_of\_week'?

 ![Screenshot 2021-03-30 at 11.38.29](https://us1.discourse-cdn.com/elastic/original/3X/b/1/b180b13fd6af09c9f28bf162050fd5ec9e46b0e7.png)

---

<div class="post-metadata">

**Author:** ![Jungeun](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@Jungeun](https://discuss.elastic.co/u/Jungeun)\
**Post date:** [March 30, 2021, 12:52pm UTC](https://discuss.elastic.co/t/want-to-set-measurement-name-as-a-filter/268738/3 "2021-03-30T12:52:18Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/6/86465cca7aff3a7c8caf39fdd4b5207951a4fb04.png)

As you can see, I already tried that before, but if Y axis's aggregation is 'Max' and Field is 'measurement.value' it shows max value of 'measurement.name' instead each of value. ☹

---

<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 27, 2021, 12:52pm UTC](https://discuss.elastic.co/t/want-to-set-measurement-name-as-a-filter/268738/4 "2021-04-27T12:52:44Z")

</div>

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