Logstash to read file using ftp


(Vishwas Tyagi) #1

Hi All,
I have a remote windows machine from which I have to read log files. But this windows machine has firewall and allow communication using ftp only. Can anyone suggest how to these log files using ftp protocol in logstash. If require I can install logstash on this machine also.
@magnusbaeck can you help me in this problem.


(Christian Dahlqvist) #2

Logstash does not support collecting and processing files via FTP, so the recommended method is to install an agent on the host. Have a look at Filebeat, which is a light-weight shipper.


(Vishwas Tyagi) #3

If I install Logstash on host machine than how could it send data to ES, as it has to make http request to ES for data transfer, and that that machine's firewall only allows FTP.
ES is installed in other machine.


(Christian Dahlqvist) #4

If you are only able to communicate over FTP, I believe you will need some kind of custom solution as i am not aware of any functionality in Logstash or Filebeat that work with FTP.


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.