elastic/logstash

logstash.service is not in place

Open

#12,584 opened on Jan 20, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Ruby (14,197 stars) (3,496 forks)batch import
good first issue

Description

Hi,

I was trying to install logstash on Amazon Linux 2. After installing it, I couldn't start/enable the service. After some debugging, I noticed the systemd configuration installed by /usr/share/logstash/bin/system-install. However, I do my tests and development mostly on AWS t3.nano and this binary is memory intensive and won't work on low memory.

The exit code could have been checked in here https://github.com/elastic/logstash/blob/master/pkg/centos/after-install.sh#L8 which could tell yum something has gone wrong. I could raise a PR for that, but, in that case, it could be impossible to install the package successfully. Or system-install can be changed by a/set of bash script(s) but I can't see the whole picture by myself that I could contribute with a PR.

  • Version: 7.10.2
  • Operating System: Amazon Linux 2
  • Config File (if you have sensitive info, please remove it):
  • Sample Data:
  • Steps to Reproduce:
    • Install logstash on a low memory VM, Computer etc

Contributor guide