How to pass JVM parameters to Logstash?


I need to pass additional JVM parameters to logstash when starting. I've tried modify the jvm.options that's inside conf directory but it haven't any effect.
I could make it work adding the parameters changing setup.bat file but I think there's a better way to do it.

Anybody can tell me if jvm.options file is to do what I want and how to use it correctly? Do I have to pass any parameter to use it when starting logstash?

I really appreciate any help.

On Windows, the best way is probably to edit the setup.bat file. The jvm.options file is (so far) only read by Unix systems. If you know how to hack the setup.bat to read from jvm.options, we'd love a pull request to help us get there.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.