I was using logstash-5.2.2 but did an upgrade today to logstash-5.4.0 .
In 5.2.2 I could just do
bin/logstash -f oracle.conf
and
bin/logstash -f linux.conf
without a problem. But now on 5.4.0 when I try the second command I get [2017-05-10T14:47:51,092][FATAL][logstash.runner ] Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting.
So how can I run those 2 config files without maken a whole new directory.
In my case i have modified the logstash initscript to start each config file in /etc/logstash/conf.d in a different instance using the same logstash service configfile (/etc/logstash/logstash.yml).
path.data is specified in logstash.yml, so to get this working again, i would have to modify the initskript to create a logstash.yml for each logstash config on the fly using differnt path.data setting for each instance,...
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.