kibana提示"[illegal_argument_exception] mapper [hits] cannot be changed from type [long] to [integer]"

===============================================

 2019/1/30_第1次修改                       ccb_warlock

 

===============================================

 

由于开发团队搭建的ELK存在些无法解决的问题,故我选择重新搭了新的ELK来替换有问题的ELK。

在使用了elasticdump迁移数据(5.4.X -> 5.6.14)后,访问kibana看到了报错信息"[illegal_argument_exception] mapper [hits] cannot be changed from type [long] to [integer]"。

 

查找资料后,发现是kibana5.X中的索引问题。

扫描二维码关注公众号,回复: 5125430 查看本文章

 

解决方案:

 # 编辑kibana的配置文件

vi /etc/kibana/kibana.yml

 将kibana.index的参数值为下面的数值,wq保存。

kibana.index: .kibana-5.x

 # 重启kibana

systemctl restart kibana

参考资料:

1. https://github.com/elastic/kibana/issues/10993

 

猜你喜欢

转载自www.cnblogs.com/straycats/p/10336467.html