# Watcher + Timelion query

**URL:** https://discuss.elastic.co/t/watcher-timelion-query/89606
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [June 15, 2017, 6:27pm UTC](https://discuss.elastic.co/t/watcher-timelion-query/89606 "2017-06-15T18:27:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![santhosh](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@santhosh](https://discuss.elastic.co/u/santhosh)
#### Post date: [June 15, 2017, 6:27pm UTC](https://discuss.elastic.co/t/watcher-timelion-query/89606/1 "2017-06-15T18:27:09Z")

</div>

I was looking for options to create a watch(er) with timelion query/expressions. But I didn't find any documentation related to timelion api or any query format to get time series. Is this feature enabled in any recent watcher version?

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [June 16, 2017, 6:14am UTC](https://discuss.elastic.co/t/watcher-timelion-query/89606/2 "2017-06-16T06:14:47Z")

</div>

hey,

timelion is a pure kibana component and thus cannot be used in watcher. You can often rebuild some of the query functionality (at least for elasticsearch) using aggregations and pipeline aggregations however.

--Alex

---

<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 14, 2017, 6:15am UTC](https://discuss.elastic.co/t/watcher-timelion-query/89606/3 "2017-07-14T06:15:05Z")

</div>

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