elastic/logstash

logstash.service is not in place

Open

Aperta il 20 gen 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Ruby (14.197 star) (3496 fork)batch import
good first issue

Descrizione

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

Guida contributor