# How to compare 2 values in the only field using elasticsearch on grafana dashboard

**URL:** <https://discuss.elastic.co/t/how-to-compare-2-values-in-the-only-field-using-elasticsearch-on-grafana-dashboard/316932>\
**Category:** Elasticsearch\
**Created:** [October 18, 2022, 8:24pm UTC](https://discuss.elastic.co/t/how-to-compare-2-values-in-the-only-field-using-elasticsearch-on-grafana-dashboard/316932 "2022-10-18T20:24:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vitoria\_De\_Lara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vitoria_de_lara/32/102210_2.png) [@Vitoria\_De\_Lara](https://discuss.elastic.co/u/Vitoria_De_Lara)\
**Post date:** [October 18, 2022, 8:24pm UTC](https://discuss.elastic.co/t/how-to-compare-2-values-in-the-only-field-using-elasticsearch-on-grafana-dashboard/316932/1 "2022-10-18T20:24:51Z")

</div>

I need to create a dashboard that shows the two results of my boolean field.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 19, 2022, 10:00pm UTC](https://discuss.elastic.co/t/how-to-compare-2-values-in-the-only-field-using-elasticsearch-on-grafana-dashboard/316932/2 "2022-10-19T22:00:11Z")

</div>

If you want to do this in Grafana you will probably be best off asking in their community 🙂

---

<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:** [November 16, 2022, 10:01pm UTC](https://discuss.elastic.co/t/how-to-compare-2-values-in-the-only-field-using-elasticsearch-on-grafana-dashboard/316932/3 "2022-11-16T22:01:13Z")

</div>

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