I installed logstash 5.2 from the tar package on redhat 6.7. I did not use the installer, because an older version of the elk stack with installed services for logstash, etc. are already present at the system.
I need them to run in parallel for a while.
I searched, but did not find an initscript for logstash 5.2 yet.
I need to run it as service name logstash5. It must not interact with the currently running logstash 1.5.
Edit startup.options (it will be in the config directory where you installed/uncompressed the tar.gz file)
Be sure to change SERVICE_NAME to be "logstash5" Ensure all other settings are correct
Run $LS_HOME/bin/system-install /path/to/startup.options sysv with sudo or as the root user, where $LS_HOME is the directory where you installed/uncompressed the tar.gz file.
This will generate a SysV init script named logstash5.
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.