# Multiple Insert Statements Example for theangryangel/logstash-output-jdbc

**URL:** <https://discuss.elastic.co/t/multiple-insert-statements-example-for-theangryangel-logstash-output-jdbc/75856>\
**Category:** Logstash\
**Created:** [February 21, 2017, 10:13am UTC](https://discuss.elastic.co/t/multiple-insert-statements-example-for-theangryangel-logstash-output-jdbc/75856 "2017-02-21T10:13:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gringo](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@gringo](https://discuss.elastic.co/u/gringo)\
**Post date:** [February 21, 2017, 10:13am UTC](https://discuss.elastic.co/t/multiple-insert-statements-example-for-theangryangel-logstash-output-jdbc/75856/1 "2017-02-21T10:13:07Z")

</div>

I am currently using the theangryangel/logstash-output-jdbc.

I am trying to have a statement field that contains two insert statement so that I can write once together into the DB.

Does anyone has any example?

I am currently using PostgreSQL

---

<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:** [March 21, 2017, 10:13am UTC](https://discuss.elastic.co/t/multiple-insert-statements-example-for-theangryangel-logstash-output-jdbc/75856/2 "2017-03-21T10:13:09Z")

</div>

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