application.yml
elasticsearch:
ip: localhost
port: 9300
pool: 5
#注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致
cluster.name: my-application
安装ES为服务:cmd 进入bin目录下执行: elasticsearch-service install
进入head文件夹下,执行命令:
npm run start或grunt server,启动head插件localhost:9100查看ES状态
进入H:\logstash-6.3.0\bin目录启动logstash:
logstash -f ../config/jdbc.conf