Forward logs from Kafka to Elastic


I'm trying to forward logs from Kafka machine to Elasticsearch machine using kafka elastic connect referring below document

configurations are:
connection.url= // elasticsearch ip

My kafka cluster ip address is : ,
However if i'm installing elasticsearch on same machine as kafka and changing connection.url=http://localhost:9200 i'm able to view index created without any docs in it

Require your assistance
Thanks in advance

Welcome to our community! :smiley:

We may not be able to help here as it sounds like kafka isn't sending the data to Elasticsearch, you may need to ask somewhere more kafka specific.

Note that this document is quite old. One thing that has changed in Elasticsearch is that document types have been deprecated and removed so it is possible that is causing problems if you are using a recent version of Elasticsearch. Try removing this or change it to _doc. I am not familiar with this connector and it is not supported here, so you may need to reach out to the maintainers or the Kafka community for guidance and compatibility information.

Thank you for your response. I tried with given solution, but it isn't working.
Do you have any more suggestion?

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