通过 kibana 将数据从 mysql 导入 Elastic Search 收到警告 - 忽略“pipelines.yml”文件,因为指定了模块或命令行选项
并且管道已终止 {:pipeline_id=>"main", :thread=>"#"}
和我的conf
input {
jdbc {
jdbc_driver_library => "mysql-connector-java-5.1.46-bin.jar"
jdbc_driver_class => "com.mysql.jdbc.Driver"
jdbc_connection_string => "jdbc:mysql://localhost:3306/test"
jdbc_user => "root"
jdbc_password => "***"
statement => "SELECT * from Test"
}
}
output{
stdout { codec => json_lines }
elasticsearch {
"hosts" => "localhost:9200"
"index" => "test-migrate"
"document_type" => "data"
}
}
有什么解决办法吗?