You can manually enable persistent queues in logstash if you want logstash to hang on to messages before they are processed or if you think that there could be a communication problem with the output of logstash.
Read this article for reference:
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.