赞
踩
1.重启ES:
##进入ES用户
su elastic
##输入密码
******
##进入ES文件夹
cd ~/elasticsearch-6.2.4
##执行命令重启ES
./bin/elasticsearch -d
解决报错:
curl -i -H "Content-Type:application/json" -XPUT?ip:9200/transaction/_mapping/default/?pretty ?-d'{"default":{"properties":{"type":{"type":"text","fielddata":true}}}}'
2.ES解锁
curl -XPUT -H "Content-Type: application/json" http://ip:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
3.删除所有的索引
curl -XDELETE http://ip:9200/_all
一键部署脚本链接
centos7 ELK7.8.0 生产部署 elasticsearch7.8 一键部署_sdcxlgb的博客-CSDN博客
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。