# Watcher nested aggregations with "direction"

**URL:** <https://discuss.elastic.co/t/watcher-nested-aggregations-with-direction/140215>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [July 16, 2018, 8:39pm UTC](https://discuss.elastic.co/t/watcher-nested-aggregations-with-direction/140215 "2018-07-16T20:39:07Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![vgersh99](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vgersh99/32/32556_2.png) [@vgersh99](https://discuss.elastic.co/u/vgersh99)\
**Post date:** [August 6, 2018, 3:45pm UTC](https://discuss.elastic.co/t/watcher-nested-aggregations-with-direction/140215/16 "2018-08-06T15:45:29Z")

</div>

Yes, I saw all of this. I've been looking at json and don't see anything wrong - looks like everything is properly formatted/quoted with matching/balanced curlies:

```auto
 49 "aggregations":{
 50 "minutes":{
 51 "date_histogram":{
 52 "field": "@timestamp",
 53 "interval": "minute",
 54 "offset": 0,
 55 "order":{
 56 "_key": "asc"
 57 },
 58 "keyed": false,
 59 "min_doc_count": 0
 60 },
 61 "aggregations":{
 62 "nodes":{
 63 "terms":{

```

What am I missing?

---

_[View the full topic](https://discuss.elastic.co/t/watcher-nested-aggregations-with-direction/140215)._
