2017-04-13 60 views

回答

1
/opt/logstash/bin/logstash -e 'input { stdin {} } output { elasticsearch { hosts => ["localhost:9200"] user => YOURUSERNAME password => YOURPASSWORD } }' 

现在它的工作。

相关问题