# Aggregation creating event on timeout, but not pushed to ES

**URL:** <https://discuss.elastic.co/t/aggregation-creating-event-on-timeout-but-not-pushed-to-es/100209>\
**Category:** Logstash\
**Created:** [September 12, 2017, 12:25pm UTC](https://discuss.elastic.co/t/aggregation-creating-event-on-timeout-but-not-pushed-to-es/100209 "2017-09-12T12:25:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [September 12, 2017, 12:25pm UTC](https://discuss.elastic.co/t/aggregation-creating-event-on-timeout-but-not-pushed-to-es/100209/1 "2017-09-12T12:25:32Z")

</div>

Hi,

I did:

```
 aggregate {
    task_id => "%{calledNumber}"
    code => "map['logNum'] ||= 0; map['logNum'] += 1;"
    push_map_as_event_on_timeout => true
    timeout_task_id_field => "calledNumber"
    timeout => 60
    timeout_tags => ['_aggregatetimeout']
  }

```

After waiting for 1 minute in Kibana I can't see any log, also when I give ES a query to search the last 15 minutes (after 5 minutes of a transaction I can't find any log that resembles this.

How can this be? This is the same as in:

[https://www.elastic.co/guide/en/logstash/current/plugins-filters-aggregate.html](https://www.elastic.co/guide/en/logstash/current/plugins-filters-aggregate.html)

When changing Logstash logs to debug mode I get;

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/e/eec54bda42133cfede211ecea7c182f71d5885ed.png)

---

<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:** [October 10, 2017, 12:25pm UTC](https://discuss.elastic.co/t/aggregation-creating-event-on-timeout-but-not-pushed-to-es/100209/2 "2017-10-10T12:25:38Z")

</div>

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