I'm replacing the logstash.conf and logstash.yml in /usr/share/logstash/pipeline and config directories with the files above. The docker image used is 7.0.0.
Docker is built fine, however, upon running I get the following:
java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
You have an entry for http.post in your logstash.yml, but there is no code in logstash that is set up to consume that. The fix is most likely to comment out that line.
It gets added by the entrypoint, and here it says the defaults are to be kept, in case the yml file is to be replaced. I would like to turn off x-pack, as it complains about http://elasticsearch:9200 not existing. If I understand correctly, that value is set by the yml file, and is populated by the entrypoint script.
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.