Closed endersonmaia closed 7 years ago
This is because Logstash is run with a nearly empty set of environment variables to make the tests hermetic. To work around this particular problem you can start Logstash with --keep-env=PATH
but then I'd expect you to run into other compatibility problems related to Logstash 5.x (see #8). I tried with the same Docker image that you used and Logstash just hangs during startup. Not sure if it's a 5.x problem or something with the Docker image.
Anyway, it's totally reasonable that we pass PATH to Logstash so I'll provide a patch for that.
This was fixed in https://github.com/magnusbaeck/logstash-filter-verifier/commit/9b5511cbb571f2f1dff5fccf13572bdefa0ca133 and included in the 1.3.0 release. Closing the issue, but as I said earlier there are known 5.x incompatibilites so unfortunately this won't really unblock you. I hope I'll be able to get some traction with getting LFV to work with Logstash 5.x in the next week or two.
I'm using
docker.elastic.co/logstash/logstash:5.4.0
docker image, and when I run I get this output :If I run
java -version
I get :