# EQL query help

**URL:** <https://discuss.elastic.co/t/eql-query-help/286974>\
**Category:** SIEM\
**Tags:** eql-elastic-query-language\
**Created:** [October 18, 2021, 10:35am UTC](https://discuss.elastic.co/t/eql-query-help/286974 "2021-10-18T10:35:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Billz1026](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@Billz1026](https://discuss.elastic.co/u/Billz1026)\
**Post date:** [October 18, 2021, 10:35am UTC](https://discuss.elastic.co/t/eql-query-help/286974/1 "2021-10-18T10:35:46Z")

</div>

Hi All,

I am using EQL to write detection rues. I have a sequence of evens as follows.  
Event A  
Event B  
Event C

I want to raise an alert if the time between Event A and Event C exceeds 30 seconds. I tried with maxspan keyword but it only gives the upper bound but here I want lower bound limitation.

Please guide me

Thanks in advance.  
Billz

---

<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 15, 2021, 10:36am UTC](https://discuss.elastic.co/t/eql-query-help/286974/2 "2021-11-15T10:36:40Z")

</div>

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