Logstash remote file input

Logstash can only read files in mounted file systems. In this case you'd have to mount the file system containing /home/log/logfile.log from the other machine via e.g. NFS. One normally installs a shipper (like Logstash or Filebeat) on each machine that has logs that should be collected.