# Watcher for missing string for last 4 hours

**URL:** https://discuss.elastic.co/t/watcher-for-missing-string-for-last-4-hours/304205
**Category:** Kibana
**Tags:** elastic-stack-alerting, kql-kibana-query-language
**Created:** [May 9, 2022, 4:41am UTC](https://discuss.elastic.co/t/watcher-for-missing-string-for-last-4-hours/304205 "2022-05-09T04:41:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hemanth.mutyala](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@hemanth.mutyala](https://discuss.elastic.co/u/hemanth.mutyala)
#### Post date: [May 9, 2022, 4:41am UTC](https://discuss.elastic.co/t/watcher-for-missing-string-for-last-4-hours/304205/1 "2022-05-09T04:41:23Z")

</div>

Hi Guys, In our current project we are having a sync happening every 4 hours which will generate some logs. so, i need to create a watcher using one string "Updated final last sync" where it should throw an alert to our slack channel if the string not found in last 4 hours. can anyone help me with the kibana advanced watcher for the above query...???

---

<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: [June 6, 2022, 4:41am UTC](https://discuss.elastic.co/t/watcher-for-missing-string-for-last-4-hours/304205/2 "2022-06-06T04:41:36Z")

</div>

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