# Logstash -incremental data

**URL:** <https://discuss.elastic.co/t/logstash-incremental-data/222888>\
**Category:** Logstash\
**Created:** [March 10, 2020, 9:00am UTC](https://discuss.elastic.co/t/logstash-incremental-data/222888 "2020-03-10T09:00:25Z")\
**Posts on this page:** 5\
**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, 9:00am UTC](https://discuss.elastic.co/t/logstash-incremental-data/222888/1 "2020-03-10T09:00:26Z")

</div>

I have to ingest the new records which are all update din database.I dont have sorted column to use last\_sql\_value and also timestamp column.so how can i ingest the incremental data

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 10, 2020, 2:08pm UTC](https://discuss.elastic.co/t/logstash-incremental-data/222888/2 "2020-03-10T14:08:47Z")

</div>

> [@chelseia](#):
>
> so how can i ingest the incremental data

If you have neither a sequence nor a timestamp in your data then I don't think you can unless your database supports triggers when new values are added. But that's really a database question and not a logstash question.

---

<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 11, 2020, 4:59am UTC](https://discuss.elastic.co/t/logstash-incremental-data/222888/3 "2020-03-11T04:59:36Z")

</div>

how to use the database triggers?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 11, 2020, 3:20pm UTC](https://discuss.elastic.co/t/logstash-incremental-data/222888/4 "2020-03-11T15:20:57Z")

</div>

That is very much specific to the database that you are using. In general, a trigger is a PL/SQL function that is called when a row is modified in a table. That function could execute an HTTP POST into a logstash http input (there are several other options for which input to use). I cannot give you more than a 30,000 foot overview.

---

<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 8, 2020, 3:21pm UTC](https://discuss.elastic.co/t/logstash-incremental-data/222888/5 "2020-04-08T15:21:05Z")

</div>

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