How do you install logstash as a service?

I downloaded the latest Logstash OSS with OpenSearch Output Plugin (https://artifacts.opensearch.org/logstash/logstash-oss-with-opensearch-output-plugin-8.9.0-linux-x64.tar.gz)
extracted the tar.gz
moved to /usr/share/logstash and run $LS_HOME/bin/system-install
but it does not create the user/group and also does not create /etc/logstash directory with the appropriate files (do not know what else is missing)

What is the right way to install it as a service and with the default options?

Hey @servando

Get Logstash

root # wget https://artifacts.opensearch.org/logstash/logstash-oss-with-opensearch-output-plugin-8.6.1-linux-x64.tar.gz

Extract

root # tar -zxvf logstash-oss-with-opensearch-output-plugin-8.6.1-linux-x64.tar.gz

Move it

root # mv logstash-8.6.1 /opt/

Create service.

Thank you