# Ingestion of data to Elasticsearch using lostash with incremental data

**URL:** <https://discuss.elastic.co/t/ingestion-of-data-to-elasticsearch-using-lostash-with-incremental-data/323416>\
**Category:** Logstash\
**Created:** [January 18, 2023, 2:02pm UTC](https://discuss.elastic.co/t/ingestion-of-data-to-elasticsearch-using-lostash-with-incremental-data/323416 "2023-01-18T14:02:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sriteja\_chebrolu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sriteja_chebrolu/32/116088_2.png) [@sriteja\_chebrolu](https://discuss.elastic.co/u/sriteja_chebrolu)\
**Post date:** [January 18, 2023, 2:02pm UTC](https://discuss.elastic.co/t/ingestion-of-data-to-elasticsearch-using-lostash-with-incremental-data/323416/1 "2023-01-18T14:02:52Z")

</div>

Hi All,

I am ingesting data from SQL to Elastic cloud  
If i ingest a SQL table twice it is ingesting two times but I want to ingest only the new data  
Suppose if a table has 10 records at first ingestion after that 2 records added while second ingestion it has 12 records, Now I want to ingest only those 2 records that are newly added  
Kindly let me know if any one knows the steps for it.

---

<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:** [February 15, 2023, 2:03pm UTC](https://discuss.elastic.co/t/ingestion-of-data-to-elasticsearch-using-lostash-with-incremental-data/323416/2 "2023-02-15T14:03:04Z")

</div>

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