How to read a remote text file using logstash

hi, i want to know how to read a remote text file using logstash, i suppose that i have a text file in windows machine and my ELK in ubuntu
thank you

Logstash does not support reading file remotely. Instead install Filebeat on the Windows machine and let this forward the file to Logstash.