How to configure filebeat if we are getting log files from different Linux servers?

Hi Experts,

As of now, I am able configure filebeat , logstash and get the index created with logs successfully in Elastic Search in the same server where log files are available, now I want to access log files which is available in a different (Linux) server.

What I understood is, I have to install filebeat in each servers from where log files need to be accessed. If that's case, how I will do the configuration in filbeat.yml in my central server where logstash is installed, and each client servers. (where logs available)

Thanks in advance !
Best Regards,
Saroj