Using Filebeat or Logstash

If you need to collect them across large numbers of hosts, then use Filebeat.
If you need to do processing of the logs beyond what Filebeat and the Ingest API in Elasticsearch can do, then use Logstash.