# How to stop scheduled logstash config and close the logstash pipeline?

**URL:** https://discuss.elastic.co/t/how-to-stop-scheduled-logstash-config-and-close-the-logstash-pipeline/41204
**Category:** Logstash
**Created:** [February 8, 2016, 4:38pm UTC](https://discuss.elastic.co/t/how-to-stop-scheduled-logstash-config-and-close-the-logstash-pipeline/41204 "2016-02-08T16:38:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mrizwan](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@mrizwan](https://discuss.elastic.co/u/mrizwan)
#### Post date: [February 8, 2016, 4:38pm UTC](https://discuss.elastic.co/t/how-to-stop-scheduled-logstash-config-and-close-the-logstash-pipeline/41204/1 "2016-02-08T16:38:45Z")

</div>

I have configured a logstash file in to fetch data from sql and dump it to elasticsearch. I have scheduled this process for every 5 minutes. Now I want to stop this process. Please help how can I stop that process and close the pipeline ?

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [February 9, 2016, 7:02pm UTC](https://discuss.elastic.co/t/how-to-stop-scheduled-logstash-config-and-close-the-logstash-pipeline/41204/2 "2016-02-09T19:02:18Z")

</div>

If you're using the the jdbc input, just set the schedule in the plugin itself.

[https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html#\_scheduling](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html#_scheduling)

If you're not using the jdbc input, please elaborate on what you _are_ doing. Which input plugin and how are you starting Logstash?

---

<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:12am UTC](https://discuss.elastic.co/t/how-to-stop-scheduled-logstash-config-and-close-the-logstash-pipeline/41204/3 "2017-07-06T05:12:23Z")

</div>


