How to get logs from remote server to elk

How to get logs from remote server to elk

Filebeat is the best option.

CAn you please tell how to achiveve this?

Have you seen https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html?

I have jenkins running in one instance and ELK setup in another instance, i want to connect from ELK to Jenkins server i,e logs to be fetched from jenkins server and output to be published in ELK instance.