Only you can say as it depends entirely on your use case.
Logstash is more flexible and powerful than Filebeat, but it also needs more resources since it runs on a JVM.
Filebeat is more lightweight, but has some limitations if you need to transform your data and can only have one output.
Normally you would use Logstash if you want to transform your data with multiple filters and enrich or if you need to send it to multiple places at the same time.
While today you can use Ingest Pipelines in Elasticsearch to transform and enrich your data, it is pretty limited compared to Logstash, but this works for many cases, you just need to test to see if you what you want to do can be done without Logstash or not.
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.