I am trying to set up multiple logstash instances running on one host. I'm doing this by modifying the $name variable in the init script and modifying logfile output names and path to config etc. This works fine except that the logfile name and path seems to be hard coded somewhere such that the value set in the init script is ignored.
I assume this is set somewhere under /opt/logstash. Could someone point me to this setting so I can avoid multiple instances writing to s single file?