Sorry, I said previously we were using systemctl but with this being 14.04, we're using the init scripts that come with the metricbeat package. I also told you we were issuing the start command but we were in fact using restart after changing config.
I can get the expected result by stopping and then starting metricbeat. So...
service metricbeat restart
results in the correct Exiting: all modules are disabled message, but the thread continues to run and metrics continue to be sent to ElasticSearch.
Running service metricbeat stop and then service metricbeat start gives me the expected outcome.
For my understanding: Start / Stop works as expected. But when you run restart the old metricbeat instance does not shut down and the new one that is tried to start returns the error?
Sorry for the long delay on this on. I tried to reproduce this with a fresh ubuntu:14.04 container and installed metricbeat. It seems start / stop and restart had the same effect.
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.