Sending files to logstash with Ruby

Would filebeat work the same?

Filebeat reads lines from files and ships them somewhere, e.g. to Logstash. Or what are you asking?