Hello all,
Following situation:
I am running a logstash-5.6.4 in a docker container. This is an ansible project in a gitlab.
Everytime I change something in logstash config, gitlab starts a pipeline to build all required files and
and perform a deployment into docker container.
Is it possible to validate the configuration with "--config.test_and_exit" before its getting deployed to docker container ?
I mean is there any possibility within logstash to do this ?
I use standard loghstash image from elastic in version 5.6.4 .
I start the container with a systemctl service file which is also getting created during build process.
Logstash access the configuration within container ,
You can start a container based on that image and supply your own options, including --config.test_and_exit. Make sure you mount the config files into the container but avoid the log and sincedb directory.
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.