Open techraf opened 8 years ago
Thanks for the well-written report, will try to reproduce locally and follow up.
@techraf Do you have any clients shipping logs to the test VM? From the error output you posted, it looks like the elasticsearch service isn't running, but the tests should catch that if it's down.
Take a look at https://github.com/freedomofpress/logserver-integration for a sandboxed setup that will ship logs from a separate VM. Simply run make test
after cloning that repo, then you should be able to log in at http://127.0.0.1:8080 to the Kibana web interface and confirm that logs are shipping correctly.
On a fresh Debian 8 VM, after the setup (no problems at all) I get continuous errors in
/var/log/logstash/logstash.log
.At the same time on Molecule the same log file after setting up
ansible-role-elk
looks like this:Yet on another clone of the separate VM if I set up
geerlingguy.logstash
(with its dependencies), I get only the following in/var/log/logstash/logstash.log
:Neither installation works for me so far. I am lost about the meaning and consequences.