ELK (elasticsearch,logstash,kibana)
question
When I used logstash in service ,such as service logstash start
it did not work , but /opt/logstash/bin/logstash -f /etc/logstash/conf.d
worked right
solution
Demo of conf
|
Pay attention
Permissionll /var/log/apache2 -ddrwxr-x--- 2 root adm 4096 Dec 15 13:32 /var/log/apache2/
logstash was started by user logstash,so it couldn’t work when executed service logstash start