ES 5.6.0 設置密碼

安裝x-pack插件

https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.0.zip

修改elasticsearch.yml配置

action.auto_create_index: ".security*,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*"
xpack.security.enabled: true
xpack.monitoring.enabled: false
xpack.graph.enabled: false
xpack.watcher.enabled: false
xpack.ml.enabled: false

Elasticsearch 的默認賬戶爲 elastic 默認密碼爲 changme,在 kibana 中通過 DSL 語句修改密碼

POST _xpack/security/user/kibana/_password
{
  "password": "123456"
}

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章