Hi,
I finally solved this issue!! i hope it helps you 
- remove and re-install logstash-5.1.1 (start with pure package)
- use follow script
Hi,
I finally solved this issue!! i hope it helps you 
Β© 2020. All Rights Reserved - 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.