d) Start and Stop Logstash services, use the following commands
>>> sudo service logstash start/stop/restart (for CentOS-6)
>>> sudo systemctl start/stop/restart logstash (for CentOS-7)
You can enable autostart of Logstash services when system reboots using the following command
>>> sudo service logstash enable (or)
>>> sudo systemctl enable logstash
2) RHEL OS 6 / 7
a) Install Java
b) Check Java Version
c) Install LogStash-7.1.1
d) To stop and Stop Logstash services, use the following commands
e) To auto start logstash services when system reboot follow the below commands.
3) Ubuntu 16.04/18.04 OS:
a) Install Java
b) Check Java Version
c) Install Logstash-7.1.1
d) To auto start logstash services when system reboot, enter the following commands
3) Oracle Enterprise Linux (OEL 6 / OEL 7)
a) Install Java
b) Check Java Version
c) Install LogStash-7.1.1
d) To autostart logstash service when system reboots, enter the following commands
4) Debian Linux v8/v9
a) Install Java
Note: If the above step failed, download java deb package by following the link below