项目作者: Anshumank399
项目描述 :
Convert Database Mysql to Elasticsearch using Logsatash with JDBC plugin.
高级语言:
项目地址: git://github.com/Anshumank399/Convert-Mysql-to-Elasticsearch.git
mysql to elasticsearch
Convert Database Mysql to Elasticsearch using Logsatash with JDBC plugin.
Steps:
- Install and Run Elasticsearch.
- Run Logstash using the command (bin\logstash –f logstash.config) by creating the .conf (configure) file in the syntax using JDBC. Example in this repository given. Place the .conf file in the logstash folder directly.
- Check for the index document added using the request (http://localhost:9200/_cat/indices?v) and contents of elasticsearch files in Json format at request (http://localhost:9200/nameofindex/_search?pretty=true)
*Make sure while running the logstash with .conf file, Mysql Database is up and running along with Elasticsearch.*