# Appending information to an index

**URL:** <https://discuss.elastic.co/t/appending-information-to-an-index/36632>\
**Category:** Logstash\
**Created:** [December 8, 2015, 12:37pm UTC](https://discuss.elastic.co/t/appending-information-to-an-index/36632 "2015-12-08T12:37:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviv.ratzon](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@aviv.ratzon](https://discuss.elastic.co/u/aviv.ratzon)\
**Post date:** [December 8, 2015, 12:37pm UTC](https://discuss.elastic.co/t/appending-information-to-an-index/36632/1 "2015-12-08T12:37:20Z")

</div>

Hello,  
I've connected to an Oracle databse via JDBC input. This is pretty new so I'm trying to figure out how to model this.

In the database there is a bug table, with rows of bugs that each have a unique ID. I want to make it so that logstash will periodically draw the bugs from the database and the user could search for bugs and view changes over time (opened, closed, reopened, etc).  
I can't seem to make it so that the information will be appended to a document(or even creat a whole new document but only for those that changed). When i use the "action" parametre in elastcsearch ouput plugin it simply overwrites the existing document when using document\_id or duplicate all the data without the id.

thank you very much,  
Aviv

---

<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 6, 2017, 5:19am UTC](https://discuss.elastic.co/t/appending-information-to-an-index/36632/2 "2017-07-06T05:19:31Z")

</div>


