# How to compare the two different fields value of a same index .?

**URL:** <https://discuss.elastic.co/t/how-to-compare-the-two-different-fields-value-of-a-same-index/211685>\
**Category:** Kibana\
**Created:** [December 12, 2019, 3:50pm UTC](https://discuss.elastic.co/t/how-to-compare-the-two-different-fields-value-of-a-same-index/211685 "2019-12-12T15:50:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AutomationAnalyst](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@AutomationAnalyst](https://discuss.elastic.co/u/AutomationAnalyst)\
**Post date:** [December 12, 2019, 3:50pm UTC](https://discuss.elastic.co/t/how-to-compare-the-two-different-fields-value-of-a-same-index/211685/1 "2019-12-12T15:50:55Z")

</div>

Hi,

I am new to Kibana and I have two different fields (Both are date fields) from same index. I have to compare the values of the both the fields with Kibana Query language. I would like to implement a query that matches both the fields values and displays only the Unmatched values.  
Is this possible with Kibana query language.?

Thanks in Advance:)

Kind regards,

---

<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 9, 2020, 3:50pm UTC](https://discuss.elastic.co/t/how-to-compare-the-two-different-fields-value-of-a-same-index/211685/2 "2020-01-09T15:50:57Z")

</div>

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