# Event.remove method not working inside aggregate section in code block

**URL:** <https://discuss.elastic.co/t/event-remove-method-not-working-inside-aggregate-section-in-code-block/336201>\
**Category:** Logstash\
**Created:** [June 16, 2023, 9:20am UTC](https://discuss.elastic.co/t/event-remove-method-not-working-inside-aggregate-section-in-code-block/336201 "2023-06-16T09:20:21Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![J\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/j_s/32/122308_2.png) [@J\_S](https://discuss.elastic.co/u/J_S)\
**Post date:** [June 18, 2023, 3:11am UTC](https://discuss.elastic.co/t/event-remove-method-not-working-inside-aggregate-section-in-code-block/336201/19 "2023-06-18T03:11:02Z")

</div>

I've created the new topic [here](https://discuss.elastic.co/t/updating-index-is-not-working-for-existing-data-inside-json-object/336291) with same details as you've suggested. The link you've shared above is also exact similar case I am trying to achieve it. Kindly help me on this @Badger .  
Thanks

---

_[View the full topic](https://discuss.elastic.co/t/event-remove-method-not-working-inside-aggregate-section-in-code-block/336201)._
