title: Read log file from a remote machine with file input plugin using logstash
body: <p>Presently I have my logs and logstash running on the same machine, so I read my logs placed on my local machine with this config(using pull model)</p>
  
  <pre><code>input {     
      file {
          path =&gt; "/home/Desktop/Logstash-Input/**/*_log"
          start_position =&gt; "beginning"
      }
  }
  </code></pre>
  
  <p>Now, we have logstash running on a different machine and want to read the logs remote mechine.</p>
  
  <p>Is there a way to set the ip in file input of config file?</p>
  
  <p><strong>EDIT:</strong>
  I manage to do this with logstash-forwarder which is a push model(log shipper/logstash-forwarder will ship log to logstash index server) but still i am looking for a pull model without shipper, where logstash index server will go and contact directly to remote host.</p>