bangyongfeng

ELK 相关问题

1、ndex has exceeded [1000000] - maximum allowed to be analyzed for highlighting

详细报错内容:

    {"type":"illegal_argument_exception","reason":"The length of [message] field of [l60ZgW0Bv9XMTlnX27A_] doc of [syslog] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!”}}

错误原因:索引偏移量默认是100000,超过了

最大迁移索引不能配置在配置文件中,只能接口修改

修改配置:

curl  -XPUT http://127.0.0.1:9200/esb-log/_settings -H 'Content-Type: application/json' -d' {"index" : {"highlight.max_analyzed_offset" : 100000000}}'

查看:

 

现次刷新kibana,可以正常显示数据。

 

 

 

 

 

分类:

技术点:

相关文章:

猜你喜欢
相关资源
相似解决方案