# Have a multiple statements in a single input

**URL:** <https://discuss.elastic.co/t/have-a-multiple-statements-in-a-single-input/206182>\
**Category:** Logstash\
**Created:** [November 1, 2019, 2:56pm UTC](https://discuss.elastic.co/t/have-a-multiple-statements-in-a-single-input/206182 "2019-11-01T14:56:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Orochi](https://avatars.discourse-cdn.com/v4/letter/o/edb3f5/32.png) [@Orochi](https://discuss.elastic.co/u/Orochi)\
**Post date:** [November 1, 2019, 2:56pm UTC](https://discuss.elastic.co/t/have-a-multiple-statements-in-a-single-input/206182/1 "2019-11-01T14:56:04Z")

</div>

Hi guys, I'm having a issue here,

I'd like to know if i can have a single input and multiples satements for the same input :  
`
input {
jdbc_driver_library => ...
jdbc_driver_class => ...
jdbc_connection_string => ..
...
statement1 =>
statement2 =>
statement3 =>
}
`  
and in my output i can differ than using `tags` for example and putting in elastisearch.  
I saw the use of multiple pipelines but that's not the case.

Thanks!

---

<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:** [November 29, 2019, 2:56pm UTC](https://discuss.elastic.co/t/have-a-multiple-statements-in-a-single-input/206182/2 "2019-11-29T14:56:15Z")

</div>

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