# Logstash Kafka SASL\_PLAIN input plugin config

**URL:** https://discuss.elastic.co/t/logstash-kafka-sasl-plain-input-plugin-config/303107
**Category:** Logstash
**Created:** [April 24, 2022, 10:04pm UTC](https://discuss.elastic.co/t/logstash-kafka-sasl-plain-input-plugin-config/303107 "2022-04-24T22:04:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Prateek\_Tiwari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prateek_tiwari/32/104737_2.png) [@Prateek\_Tiwari](https://discuss.elastic.co/u/Prateek_Tiwari)
#### Post date: [April 24, 2022, 10:04pm UTC](https://discuss.elastic.co/t/logstash-kafka-sasl-plain-input-plugin-config/303107/1 "2022-04-24T22:04:49Z")

</div>

Hi,  
I have been trying to connect logstash to my remote kafka instance, which has SASL\_PLAIN authentication method, but still not able establish the connection and getting the following error :  
org.apache.kafka.clients.NetworkClient][main] Bootstrap broker HOST:PORT (id: -1 rack: null) disconnected.  
What is the right config of logstash input for connecting to remote kafka, which is of SASL\_PLAIN authentication. I've gone through the documentation and didn't found any thing around this config.  
I'm using logstash of version 7.17

---

<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: [May 22, 2022, 10:05pm UTC](https://discuss.elastic.co/t/logstash-kafka-sasl-plain-input-plugin-config/303107/2 "2022-05-22T22:05:42Z")

</div>

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