# How to triggered mail in watcher if two alphanumeric key difference is more than 2 sec

**URL:** <https://discuss.elastic.co/t/how-to-triggered-mail-in-watcher-if-two-alphanumeric-key-difference-is-more-than-2-sec/270838>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [April 21, 2021, 12:34pm UTC](https://discuss.elastic.co/t/how-to-triggered-mail-in-watcher-if-two-alphanumeric-key-difference-is-more-than-2-sec/270838 "2021-04-21T12:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mangeshmj1992](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@mangeshmj1992](https://discuss.elastic.co/u/mangeshmj1992)\
**Post date:** [April 21, 2021, 12:34pm UTC](https://discuss.elastic.co/t/how-to-triggered-mail-in-watcher-if-two-alphanumeric-key-difference-is-more-than-2-sec/270838/1 "2021-04-21T12:34:31Z")

</div>

Hello all,  
PFB two log lines:

```
[0915adf2-ff62-421e-97a8-0a00cbb7df7f] [07:53:43 Information] SpotQuote Response "ResponseId":"5679ty678"
[0915adf2-ff62-421e-97a8-0a00cbb7df7f] [07:53:41 Information] SpotQuote Request "RequestId":"5679ty678"

```

I have two alphanumeric fields ResponseId and RequestId. I want to trigger a mail if difference between ResponseId and RequestId is more than 2 sec.

@Badger Can you please help here.

---

<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:** [May 19, 2021, 12:35pm UTC](https://discuss.elastic.co/t/how-to-triggered-mail-in-watcher-if-two-alphanumeric-key-difference-is-more-than-2-sec/270838/2 "2021-05-19T12:35:12Z")

</div>

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