elastic/logstash

logstash.service is not in place

Open

#12 584 ouverte le 20 janv. 2021

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Ruby (3 496 forks)batch import
good first issue

Métriques du dépôt

Stars
 (14 197 stars)
Métriques de merge PR
 (Merge moyen 4j 19h) (50 PRs mergées en 30 j)

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

Guide contributeur