Hello, I can't stop Logstash so I can't test any config file on my mac.
Here the error : I3893-2:6.4.1 gongon$ logstash -f first-pipeline.conf
Sending Logstash logs to /usr/local/Cellar/logstash/6.4.1/libexec/logs which is now configured via log4j2.properties
[2019-01-22T18:43:32,589][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2019-01-22T18:43:32,647][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.
[2019-01-22T18:43:32,668][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
This command doesn't work : '--pipeline.unsafe_shutdown`
Can i use it on my mac ???
Could you help me ?
Andreas did not mean for you to take that path literally. Create a new directory called something like "logstash-data" somewhere that you can write to, for example, under /tmp or in your home directory. So if your home directory is /home/gongon you would create /home/gongon/logstash-data. Then run logstash using
I do not have a Mac to test on, but something like 'ps aux | grep logstash' should show you which process is running logstash. Then doing 'kill' on the process id of that process should stop it.
That does not show an instance of logstash running. Do you still get this error?
[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.
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.