Example for remote path in logstash conf file

Install filebeat on the remote host and then ship the data over to Logstash.