I installed logstash with a tar.gz package.
I want to run as a service so that logstash can run automatically when the system reboots.
How should I set it up?
logstash: 7.6
os: centos7
Instead of using rpm, we need a method that runs as a service in the current installation plan.
You need to edit logstash/config/startup.options as necessary for your environment.
Next run logstash/bin/system-install. This will use the setting in startup.options to create a systemd service file (usually /etc/systemd/system/logstash.service).
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.