# Kibana compare two date range

**URL:** https://discuss.elastic.co/t/kibana-compare-two-date-range/152962
**Category:** Kibana
**Created:** [October 18, 2018, 8:44am UTC](https://discuss.elastic.co/t/kibana-compare-two-date-range/152962 "2018-10-18T08:44:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cemkuleyin](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cemkuleyin](https://discuss.elastic.co/u/cemkuleyin)
#### Post date: [October 18, 2018, 8:44am UTC](https://discuss.elastic.co/t/kibana-compare-two-date-range/152962/1 "2018-10-18T08:44:35Z")

</div>

Hi,

I have a problem with alerts. I want to set alert for compare known two different time range. For example, compare today and last thursday. If value greater than threshold, fire alert with email.

Can I do that reason?

Thanks,

Cem

---

<div class="post-metadata">

### Author: ![bryan\_stuhlsatz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bryan_stuhlsatz/32/49123_2.png) [@bryan\_stuhlsatz](https://discuss.elastic.co/u/bryan_stuhlsatz)
#### Post date: [October 18, 2018, 9:08pm UTC](https://discuss.elastic.co/t/kibana-compare-two-date-range/152962/2 "2018-10-18T21:08:13Z")

</div>

If you have watcher, you can easily do that. I believe you need a license to do that.

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [October 18, 2018, 10:19pm UTC](https://discuss.elastic.co/t/kibana-compare-two-date-range/152962/3 "2018-10-18T22:19:19Z")

</div>

Yes, this can be done with Watcher - you can learn more about it [here](https://www.elastic.co/guide/en/elastic-stack-overview/current/watcher-getting-started.html)

---

<div class="post-metadata">

### Author: ![cemkuleyin](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@cemkuleyin](https://discuss.elastic.co/u/cemkuleyin)
#### Post date: [October 19, 2018, 7:41am UTC](https://discuss.elastic.co/t/kibana-compare-two-date-range/152962/4 "2018-10-19T07:41:53Z")

</div>

thanks @bryan_stuhlsatz and @tylersmalley.

I havent watcher. watcher is paid service? how much?

Thanks,

Cem

---

<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 16, 2018, 7:53am UTC](https://discuss.elastic.co/t/kibana-compare-two-date-range/152962/5 "2018-11-16T07:53:05Z")

</div>

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