当前位置:网站首页>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
}
}'
边栏推荐
猜你喜欢
随机推荐
golang: Gorm配置Mysql多数据源
Two Permutations(2022杭电杯)
C language custom types, rounding
适合程序员的输入法
理解和熟悉递归中的尝试
Go 结合Gin导出Mysql数据到Excel表格
Oracle查看表空间使用率及爆满解决方案
DP5340国产替代CM5340立体声音频A/D转换器芯片
redis伪集群搭建
How does Redis prevent oversold and inventory deduction operations?
Electron使用romote报错 : Uncaught TypeError: Cannot read property ‘BrowserWindow‘ of undefined
File类
this and super
go : create database records using gorm
selenium模块
go : go-redis 基础操作
MySql详解基础
linux安装mysql8参考指引
便携小风扇PD取电芯片
Charles通过Rewrite越过OPTIONS请求拦截








