当前位置:网站首页>elk报错:[syslogs] index has exceeded [1000000]
elk报错:[syslogs] index has exceeded [1000000]
2022-07-30 06:33:00 【Jiangxl~】
报错内容:The length of [日志详情.keyword] field of [fDc4RoIBa4doANsQMBzx] doc of [elk-xbtstu-tj-prod-2022.07.28][syslogs] 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! 
解决方法
curl -XPUT "http://ip:port/_settings" -H 'Content-Type: application/json' -d' {
"index" : {
"highlight.max_analyzed_offset" : 100000000
}
}'
边栏推荐
猜你喜欢
随机推荐
Monkey and Banana
C语言自定义类型详解
【MySQL】MySQL中如何实现分页操作
golang : Zap日志整合
Basic usage of tree arrays
Input method for programmers
Get all interface paths and names in the controller
保存在 redis中的token 如何续期?
mysql8的my.conf配置文件参考指引
2020 数学建模之旅
mysql高阶语句(一)
Distributed lock development
Go 结合Gin导出Mysql数据到Excel表格
go : go gin返回JSON数据
BGP:边界网关路由协议 无类别的路径矢量EGP协议
雷总个人博客看到
How does Redis prevent oversold and inventory deduction operations?
IDEA 中CheckStyle安装及使用
File类
【BERT-多标签文本分类实战】之二——BERT的地位与名词术语解释









