# Config logstash for using kafka and jdbc input

**URL:** <https://discuss.elastic.co/t/config-logstash-for-using-kafka-and-jdbc-input/344612>\
**Category:** Logstash\
**Created:** [October 9, 2023, 3:50am UTC](https://discuss.elastic.co/t/config-logstash-for-using-kafka-and-jdbc-input/344612 "2023-10-09T03:50:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![azar\_uac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azar_uac/32/126346_2.png) [@azar\_uac](https://discuss.elastic.co/u/azar_uac)\
**Post date:** [October 9, 2023, 3:50am UTC](https://discuss.elastic.co/t/config-logstash-for-using-kafka-and-jdbc-input/344612/1 "2023-10-09T03:50:00Z")

</div>

How to config Logstash to get table name , index name from kafka input message and use them in jdbc input for get table data of mssql database and send table data to index of elasticsearch

---

<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 6, 2023, 3:50am UTC](https://discuss.elastic.co/t/config-logstash-for-using-kafka-and-jdbc-input/344612/2 "2023-11-06T03:50:44Z")

</div>

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