Connection of logstash hosted in one server with the elastic search hosted in another server

I am trying to push the files to elastic search hosted in a different server. But unable to make the connection from logstash to elastic search as both are in different servers. I even tried to change the config files of both, even made es network host to, but still logstash is unable to reach es.

Can anyone please help me with this issue.
Thank you

Start to share the logs of elasticsearch when it starts.

Share your logstash config file as well.

Please format it according the rules of this forum. See About the Elasticsearch category.

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