ELK 默认端口
kibana 5601
logstash 9600 input 4560
Elasticsearch 9200
logback <appender-ref ref="LOGSTASH"/> ----> logstash logstash_to_elasticsearch.conf -----> elasticsearch --------> kibana
启动logstash命令
sudo logstash -f /usr/local/logstash/logstash-6.5.4/config/logstash_to_elasticsearch.conf
启动elasticsearch
elasticsearch
启动kibana
kibana