elasticsearch插件安装列表

集群管理:plugin -install mobz/elasticsearch-head

集群性能监控:plugin -install lukas-vlcek/bigdes

另一个好用的集群管理: plugin -install lmenezes/elasticsearch-kopf

数据库JDBC同步插件:./bin/plugin --install jdbc --url http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-river-jdbc/1.5.0.0/elasticsearch-river-jdbc-1.5.0.0.zip


然后下载mysql的jdbc驱动到plugins/jdbc目录下

curl -o mysql-connector-java-5.1.33.zip -L 'http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.33.zip/from/http://cdn.mysql.com/'

curl -XPUT 'localhost:9200/_river/my_jdbc_river/_meta' -d '{     "type" : "jdbc",     "jdbc" : {         "url" : "jdbc:mysql://localhost:3306/pcorder",         "user" : "root",         "password" : "xxxxxxx",         "sql" : "select * from paycenter_order"     } }'

你可能感兴趣的:(elasticsearch)