How to sends logs from remote machine to Logstash or Elastic Search

Thanks Pankaj..I will check it out