# I have tried to ingested the new record ..but everytime the existing record is overriding with the new one.how to clear this?

**URL:** <https://discuss.elastic.co/t/i-have-tried-to-ingested-the-new-record-but-everytime-the-existing-record-is-overriding-with-the-new-one-how-to-clear-this/222863>\
**Category:** Logstash\
**Created:** [March 10, 2020, 6:16am UTC](https://discuss.elastic.co/t/i-have-tried-to-ingested-the-new-record-but-everytime-the-existing-record-is-overriding-with-the-new-one-how-to-clear-this/222863 "2020-03-10T06:16:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chelseia](https://avatars.discourse-cdn.com/v4/letter/c/d78d45/32.png) [@chelseia](https://discuss.elastic.co/u/chelseia)\
**Post date:** [March 10, 2020, 6:16am UTC](https://discuss.elastic.co/t/i-have-tried-to-ingested-the-new-record-but-everytime-the-existing-record-is-overriding-with-the-new-one-how-to-clear-this/222863/1 "2020-03-10T06:16:43Z")

</div>

input{  
jdbc{  
clean\_run =\> true  
jdbc\_driver\_library =\> "C:/Program Files/SQL Developer 4/jdbc/lib/ojdbc8.jar"  
jdbc\_driver\_class =\> "Java::oracle.jdbc.driver.OracleDriver"  
jdbc\_connection\_string =\> "..................."  
jdbc\_user =\> "........"  
jdbc\_password =\> "..........."  
statement =\> "select \* from TABLE1 where rownum \> :sql\_last\_value"  
use\_column\_value =\> "true"  
tracking\_column =\>"rownum"  
schedule =\> "\*/1 \* \* \* \*"  
}  
}  
output{  
elasticsearch{  
hosts =\>"[http://localhost:9200](http://localhost:9200)"  
index =\>"weather33"  
}  
stdout{}  
}

---

<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:** [April 7, 2020, 6:16am UTC](https://discuss.elastic.co/t/i-have-tried-to-ingested-the-new-record-but-everytime-the-existing-record-is-overriding-with-the-new-one-how-to-clear-this/222863/2 "2020-04-07T06:16:45Z")

</div>

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