There isn't one "best technique" as it depends a lot on your requirements and architecture. There are some existing blog posts discussing queueing and I've linked them below.
Also take a look at using the persistent queue feature that's part of the Logstash as an alternative to putting a queue between Beat and Logstash.
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.