windows下elasticsearch+kibana+filebeat安装

作者: zengde 分类: 笔记 发布时间: 2017-11-19 06:22

elasticsearch目录

bin\elasticsearch-plugin install file:///f:/downloads9/x-pack-6.0.0.zip
bin\elasticsearch-plugin install ingest-geoip
bin\elasticsearch-plugin install ingest-user-agen

启动

bin\elasticsearch

启动后新窗口es目录

bin\x-pack\setup-passwords auto

记录下cosole输出的账号密码

kibana目录

bin\kibana-plugin install file:///f:/downloads9/x-pack-6.0.0.zip

修改config/kibana.yml

elasticsearch.username: "kibana"
elasticsearch.password: "上步生成的密码"

启动

bin\kibana

filebeat目录
修改filebeat.yml

output.elasticsearch:
  username: "elastic"
  password: "第一步生成的密码"

管理员身份打开powershell

.\install-service-filebeat.ps1

如果被禁止执行

PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1
filebeat setup -e
或者
filebeat setup --template
filebeat setup --dashboards

启动filebeat

Start-Service filebeat