标签:home group tst last ecs inf target desc sha
配置文件: /usr/lib/systemd/system/logstash.service
相关目录: logstash.conf 位于 /etc/logstash/conf.d 中,logstash.yml 位于 /etc/logstash 中
[Unit] Description=Logstash Documentation=http://www.elastic.co After=elasticsearch.service [Service] Environment=LS_HOME=/var/lib/logstash Environment=LS_HEAP_SIZE="500m" Environment=LS_CONF_DIR=/etc/logstash/conf.d Environment=LS_LOG_DIR=/var/log/logstash Environment=LS_SETTINGS_DIR=/etc/logstash ; User=logstash ; Group=logstash User=root Group=root ExecStart=/usr/share/logstash/bin/logstash -f $LS_CONF_DIR --path.logs $LS_LOG_DIR --path.data $LS_HOME --path.settings $LS_SETTINGS_DIR StandardOutput=null StandardError=journal SuccessExitStatus=143 LimitNOFILE=65535 TimeoutStopSec=20 LimitMEMLOCK=infinity [Install] WantedBy=multi-user.target
233
标签:home group tst last ecs inf target desc sha
原文地址:https://www.cnblogs.com/lemos/p/12490707.html