标签:elastic 相同 date nbsp ted tps log user href
1.进入官网
https://www.elastic.co/cn/downloads/logstash 下载相应版本的logstash
2. ./bin/logstash -f logstash.conf启动logstash
#下载与ES相同版本号的logstash,(7.1.0),并解压到相应目录
#修改movielens目录下的logstash.conf文件
#path修改为,你实际的movies.csv路径
input {
file {
path => "YOUR_FULL_PATH_OF_movies.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
#启动Elasticsearch实例,然后启动 logstash,并制定配置文件导入数据
bin/logstash -f /YOUR_PATH_of_logstash.conf
标签:elastic 相同 date nbsp ted tps log user href
原文地址:https://www.cnblogs.com/shigwcc/p/11221867.html