# Can someone please help? Aggregation error. How to use existing index and add additional info?

**URL:** https://discuss.elastic.co/t/can-someone-please-help-aggregation-error-how-to-use-existing-index-and-add-additional-info/228748
**Category:** Logstash
**Created:** [April 19, 2020, 5:06pm UTC](https://discuss.elastic.co/t/can-someone-please-help-aggregation-error-how-to-use-existing-index-and-add-additional-info/228748 "2020-04-19T17:06:06Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Dinesh\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dinesh_gupta/32/66627_2.png) [@Dinesh\_Gupta](https://discuss.elastic.co/u/Dinesh_Gupta)
#### Post date: [April 20, 2020, 12:05am UTC](https://discuss.elastic.co/t/can-someone-please-help-aggregation-error-how-to-use-existing-index-and-add-additional-info/228748/9 "2020-04-20T00:05:40Z")

</div>

Hello Badger.

I actually managed to finish this, I saw another thread of yours this is my code.

[Thread](https://discuss.elastic.co/t/logstash-how-to-configure-csv-filter-for-joining-2-csv-files-based-on-a-common-field-and-send-the-joined-log-to-es/167125) for reference.

Edited: Had an error in CSV (duplicate date, it's correct now)

---

_[View the full topic](https://discuss.elastic.co/t/can-someone-please-help-aggregation-error-how-to-use-existing-index-and-add-additional-info/228748)._
