# Auto-run Logstash on Insert on SQL Server

**URL:** <https://discuss.elastic.co/t/auto-run-logstash-on-insert-on-sql-server/231706>\
**Category:** Logstash\
**Created:** [May 8, 2020, 11:23am UTC](https://discuss.elastic.co/t/auto-run-logstash-on-insert-on-sql-server/231706 "2020-05-08T11:23:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManishNarula](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@ManishNarula](https://discuss.elastic.co/u/ManishNarula)\
**Post date:** [May 8, 2020, 11:23am UTC](https://discuss.elastic.co/t/auto-run-logstash-on-insert-on-sql-server/231706/1 "2020-05-08T11:23:58Z")

</div>

Hi,  
I am working with Logstash and Elasticsearch but I have a problem. In my case I want Elasticsearch to be updated with the new data added into a SQL Database, all done via Logstash.  
But here is the catch i don't want logstash to be scheduled because that will cause problem, it will keep on hitting my database which can cause issues to other applications using that database.

---

<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:** [June 5, 2020, 11:24am UTC](https://discuss.elastic.co/t/auto-run-logstash-on-insert-on-sql-server/231706/2 "2020-06-05T11:24:16Z")

</div>

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