# Jdbc input to close db connection

**URL:** <https://discuss.elastic.co/t/jdbc-input-to-close-db-connection/55689>\
**Category:** Logstash\
**Created:** [July 17, 2016, 11:32am UTC](https://discuss.elastic.co/t/jdbc-input-to-close-db-connection/55689 "2016-07-17T11:32:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Govind\_Raj](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@Govind\_Raj](https://discuss.elastic.co/u/Govind_Raj)\
**Post date:** [July 17, 2016, 11:32am UTC](https://discuss.elastic.co/t/jdbc-input-to-close-db-connection/55689/1 "2016-07-17T11:32:38Z")

</div>

Hi Team

I am using Jdbc as my input in logstash configuration . our configs has a schedule of once in every hour. we want to ensure that that the dbconnections are closed after the read operation is completed. Is there a parameter for the same in input section.

Any suggestions are appreciated.

thanks  
Govind

---

<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, 4:47am UTC](https://discuss.elastic.co/t/jdbc-input-to-close-db-connection/55689/2 "2017-07-06T04:47:42Z")

</div>


