当前位置:网站首页>Es log error appreciation -limit of total fields
Es log error appreciation -limit of total fields
2022-07-07 13:52:00 【Es assistant】
Error reporting
[o.e.a.a.i.m.p.TransportPutMappingAction] [------nodeid-------] failed to put mappings on indices [[[--------IndexName---------]]], type [doc]
java.lang.IllegalArgumentException: Limit of total fields [1000] in index [--------IndexName---------] has been exceeded
at org.elasticsearch.index.mapper.MapperService.checkTotalFieldsLimit(MapperService.java:656) ~[elasticsearch-6.8.2.jar:6.8.2]
at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:537) ~[elasticsearch-6.8.2.jar:6.8.2]
at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:415) ~[elasticsearch-6.8.2.jar:6.8.2]
Error reporting analysis
This problem is an error in writing ,ES By default, a single index is restricted 1000 A field , Because too many fields defined in the index will lead to mapping The surge of , Thus causing memory errors and difficult to recover .
This problem is common after log splitting , Automatic update update mapping, Due to abnormal log splitting logic , As a result, many abnormal fields are mistaken for new fields , Cause index maaping The field surge is greater than 1000. Cause update error .
Solution
1- Adjust index setting, Temporarily increase the limit of the number of fields , In the following ways my_index To report an error index name .
PUT my_index/_settings
{
"index.mapping.total_fields.limit": 2000
}
This is set to 2000 Maximum index
2- Check the reasons for the surge in the number of fields on the business side , Reduce the number of single index fields .
边栏推荐
- 交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)
- cmake 学习使用笔记(一)
- Help tenants
- AI人才培育新思路,这场直播有你关心的
- 现在网上开户安全么?那么网上开户选哪个证券公司?
- 2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
- JS slow motion animation principle teaching (super detail)
- Detr introduction
- postgresql array类型,每一项拼接
- 【日常训练--腾讯精选50】231. 2 的幂
猜你喜欢
Use of polarscatter function in MATLAB
Cinnamon taskbar speed
Enregistrement de la navigation et de la mise en service du robot ROS intérieur (expérience de sélection du rayon de dilatation)
"Song of ice and fire" in the eleventh issue of "open source Roundtable" -- how to balance the natural contradiction between open source and security?
Flink | 多流转换
flask session伪造之hctf admin
My "troublesome" subordinates after 00: not bad for money, against leaders, and resist overtime
干货|总结那些漏洞工具的联动使用
MySQL error 28 and solution
2022-7-7 Leetcode 844.比较含退格的字符串
随机推荐
Write it down once Net a new energy system thread surge analysis
Getting started with cinnamon applet
云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
Mysql怎样控制replace替换的次数?
"Song of ice and fire" in the eleventh issue of "open source Roundtable" -- how to balance the natural contradiction between open source and security?
How far can it go to adopt a cow by selling the concept to the market?
Excerpt from "misogyny: female disgust in Japan"
TPG x AIDU | AI leading talent recruitment plan in progress!
【面试高频题】难度 2.5/5,简单结合 DFS 的 Trie 模板级运用题
使用day.js让时间 (显示为几分钟前 几小时前 几天前 几个月前 )
[daily training] 648 Word replacement
请问指南针股票软件可靠吗?交易股票安全吗?
[etc.] what are the security objectives and implementation methods that cloud computing security expansion requires to focus on?
Esp32 series column
xshell连接服务器把密钥登陆改为密码登陆
带你掌握三层架构(建议收藏)
Drawerlayout suppress sideslip display
室內ROS機器人導航調試記錄(膨脹半徑的選取經驗)
Indoor ROS robot navigation commissioning record (experience in selecting expansion radius)
PC端页面如何调用QQ进行在线聊天?