2020年5月20日
摘要: 一、导入到ES单个字段 cat json.conf file { path => "/home/mongodb/vsmongo.json" type => "myfirst" start_position => "beginning" } } output { if [type] == "myfir 阅读全文
posted @ 2020-05-20 16:44 xibuhaohao 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 经过修改配置文件,执行以下命令启动服务 nohup bin/logstash -f config/kafka_os_into_es.conf & >通过nohup命令将服务启动的进程放到后台并输出到日志 输出的日志是以nohub.out结尾的日志 可以通过tail -f 进行查看 然后查看日志,报错 阅读全文
posted @ 2020-05-20 14:53 xibuhaohao 阅读(7010) 评论(0) 推荐(1) 编辑