# Query checking difference of two terms in a log

**URL:** <https://discuss.elastic.co/t/query-checking-difference-of-two-terms-in-a-log/99381>\
**Category:** Elasticsearch\
**Created:** [September 5, 2017, 7:37am UTC](https://discuss.elastic.co/t/query-checking-difference-of-two-terms-in-a-log/99381 "2017-09-05T07:37:41Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [September 5, 2017, 10:29am UTC](https://discuss.elastic.co/t/query-checking-difference-of-two-terms-in-a-log/99381/10 "2017-09-05T10:29:03Z")

</div>

Wrong forum 🙂

I found this in the logstash forum that looks relevant: [Logstash Ruby filter to subtract difference between two timestamps in single event](https://discuss.elastic.co/t/logstash-ruby-filter-to-subtract-difference-between-two-timestamps-in-single-event/32580/5)

---

_[View the full topic](https://discuss.elastic.co/t/query-checking-difference-of-two-terms-in-a-log/99381)._
