Read files from another machine

I have created a logstash, i.e. file.conf, to read through a file in local machine (172.16.1.135).

input{
stdin{}
file{
type => "txt"
path => "C:\Job\Code.txt"
start_position => "beginning"
}
}
filter{
grok{
match => {"message" => ["^job_id:%{GREEDYDATA:job_id}%{SPACE}description:%{GREEDYDATA:description}%{SPACE}result:%{GREEDYDATA:result}"]}
}

}
output{
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}

Now I have built a ELK server on another machine (172.16.1.245) and I move the file-input.conf file to the new ELK server.

How can I read back the text from the old machine (172.16.1.135).?
Thanks

Logstash's file input plugin reads data from files in mounted file systems. Your problem is typically solved by installing a shipper (e.g. Logstash) on each machine containing logs and configuring it to send the logs to Logstash. (via e.g. the lumberjack input/output plugins).