elastic/logstash

logstash.service is not in place

Open

#12,584 建立於 2021年1月20日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Ruby (14,197 star) (3,496 fork)batch import
good first issue

描述

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

貢獻者指南

logstash.service is not in place · elastic/logstash#12584 | Good First Issue