1:启动Elasticsearch2:bin/logstash -e 'input { stdin { } } output { elasticsearch { host => localhost } }'3:访问url验证http://localhost:9200/
继续