Filebeat is the best possible way to pick your logs and send to Elasticsearch.
If your logs are structured, then you can directly send them to Elasticsearch. If not, then you can send logs via logstash for processing and then send them to Elasticsearch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.