logstash version 7.1.1
正確的如下
input {
file {
path => ["D:/elk/logstash-7.1.1/bin/movies.csv"]
start_position => "beginning"
sincedb_path => "null"
}
}
sincedb_path:可以是一個(gè)不存在的文件
path:windows下文件分隔如果""捂蕴,不會(huì)導(dǎo)入數(shù)據(jù),也沒(méi)有error信息,需要改成:"/"
2 . Restored connection to ES instance {:url=>"http://localhost:9200/"}
重啟ES
還不行 修改url http://127.0.0.1:9200/