# Multiple interval exclusion in Sentinl

**URL:** <https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028>\
**Category:** Kibana\
**Created:** [May 24, 2020, 5:04am UTC](https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028 "2020-05-24T05:04:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohitrawat0123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohitrawat0123/32/68956_2.png) [@mohitrawat0123](https://discuss.elastic.co/u/mohitrawat0123)\
**Post date:** [May 24, 2020, 5:04am UTC](https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028/1 "2020-05-24T05:04:04Z")

</div>

Hi,  
I'm trying to configure sentinl watcher with trigger scheduled at "every 5 minutes" which is working fine. But now i need to exclude night hours (after 20th hour) and morning hours (before 5th hour) as well. So i want to do something like "every 5 minutes except after 20th hour and before 5th hour", but it's not working for any of the exlusive time interval. On the other hand it works for single exclusion like "every 5 minutes except after 20th hour" or "every 5 minutes except after 5th hour".  
Correct me if my syntax is wrong or do share any other workaround for the same.

---

<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:** [May 25, 2020, 1:03am UTC](https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028/2 "2020-05-25T01:03:49Z")

</div>

Can you clarify what sentinl watcher is?

---

<div class="post-metadata">

**Author:** ![mohitrawat0123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohitrawat0123/32/68956_2.png) [@mohitrawat0123](https://discuss.elastic.co/u/mohitrawat0123)\
**Post date:** [May 26, 2020, 4:05am UTC](https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028/3 "2020-05-26T04:05:29Z")

</div>

**SENTINL** extends _Kibi/Kibana_ with **Alerting** and **Reporting** functionality to monitor, notify and report on data series changes using standard queries, programmable validators and a variety of configurable actions - Think of it as a free an independent ["Watcher"](https://www.elastic.co/guide/en/watcher/current/introduction.html) and ["Reporting"](https://www.elastic.co/products/reporting) alternative, further extended and expanded by the unique Kibi features.  
for more : [https://sentinl.readthedocs.io/en/docs/](https://sentinl.readthedocs.io/en/docs/)

---

<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:** [May 26, 2020, 4:07am UTC](https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028/4 "2020-05-26T04:07:01Z")

</div>

Ok, I am not sure we can provide support for that ourselves sorry. It seems like asking the makers of that might get a solution.

---

<div class="post-metadata">

**Author:** ![mohitrawat0123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohitrawat0123/32/68956_2.png) [@mohitrawat0123](https://discuss.elastic.co/u/mohitrawat0123)\
**Post date:** [June 8, 2020, 1:57pm UTC](https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028/5 "2020-06-08T13:57:54Z")

</div>

Solution : every 5 minutes after 20th hour before 5th hour  
[https://bunkat.github.io/later/parsers.html#text](https://bunkat.github.io/later/parsers.html#text)

---

<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:** [July 6, 2020, 1:57pm UTC](https://discuss.elastic.co/t/multiple-interval-exclusion-in-sentinl/234028/6 "2020-07-06T13:57:54Z")

</div>

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