# Comparision between two terms in kibana

**URL:** <https://discuss.elastic.co/t/comparision-between-two-terms-in-kibana/139716>\
**Category:** Kibana\
**Created:** [July 12, 2018, 9:44am UTC](https://discuss.elastic.co/t/comparision-between-two-terms-in-kibana/139716 "2018-07-12T09:44:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 12, 2018, 9:44am UTC](https://discuss.elastic.co/t/comparision-between-two-terms-in-kibana/139716/1 "2018-07-12T09:44:19Z")

</div>

I want to compare the two terms of data and want to visualize them as some chart..  
example:two fields:hospital name and rating of hospital..  
with hospital name i have to compare with rating field...  
hospital a-5 rating  
hospital b-3 rating  
i want to display in charts..

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [July 12, 2018, 4:37pm UTC](https://discuss.elastic.co/t/comparision-between-two-terms-in-kibana/139716/2 "2018-07-12T16:37:37Z")

</div>

This is possible in Kibana. I have created an example chart that demonstrates your requested behavior. Since I have a different data set, machine.os represents hospital name and bytes represents the hospital rating. The graph shows machine.os on the x-axis and bytes on the y-axis

 ![33%20AM](https://us1.discourse-cdn.com/elastic/original/3X/0/a/0a4e075c830fbdcaefe583cbee8c7c2f589601d5.png)

---

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 13, 2018, 2:26am UTC](https://discuss.elastic.co/t/comparision-between-two-terms-in-kibana/139716/3 "2018-07-13T02:26:50Z")

</div>

thanks

---

<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:** [August 10, 2018, 2:26am UTC](https://discuss.elastic.co/t/comparision-between-two-terms-in-kibana/139716/4 "2018-08-10T02:26:54Z")

</div>

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