当前位置:网站首页>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 .
边栏推荐
- Did login metamask
- clion mingw64中文乱码
- Redis 核心数据结构 & Redis 6 新特性详
- Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]
- [dark horse morning post] Huawei refutes rumors about "military master" Chen Chunhua; Hengchi 5 has a pre-sale price of 179000 yuan; Jay Chou's new album MV has played more than 100 million in 3 hours
- 【面试高频题】难度 2.5/5,简单结合 DFS 的 Trie 模板级运用题
- ES日志报错赏析-Limit of total fields
- SSRF漏洞file伪协议之[网鼎杯 2018]Fakebook1
- Dry goods | summarize the linkage use of those vulnerability tools
- 交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)
猜你喜欢

2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天

Evolution of customer service hotline of dewu

作战图鉴:12大场景详述容器安全建设要求

Introduction and basic use of stored procedures

"Song of ice and fire" in the eleventh issue of "open source Roundtable" -- how to balance the natural contradiction between open source and security?

Ogre introduction

The delivery efficiency is increased by 52 times, and the operation efficiency is increased by 10 times. See the compilation of practical cases of financial cloud native technology (with download)

flask session伪造之hctf admin

《厌女:日本的女性嫌恶》摘录

JS slow motion animation principle teaching (super detail)
随机推荐
Toraw and markraw
648. Word replacement: the classic application of dictionary tree
[QNX hypervisor 2.2 user manual]6.3.4 virtual register (guest_shm.h)
MySQL error 28 and solution
华为镜像地址
带你掌握三层架构(建议收藏)
The delivery efficiency is increased by 52 times, and the operation efficiency is increased by 10 times. See the compilation of practical cases of financial cloud native technology (with download)
.net core 关于redis的pipeline以及事务
Read PG in data warehouse in one article_ stat
mysql ”Invalid use of null value“ 解决方法
Write it down once Net a new energy system thread surge analysis
566. Reshaping the matrix
Talk about pseudo sharing
FCOS3D label assignment
Leecode3. Longest substring without repeated characters
Enregistrement de la navigation et de la mise en service du robot ROS intérieur (expérience de sélection du rayon de dilatation)
高等数学---第八章多元函数微分学1
Help tenants
Help tenants
LeetCode_ Binary search_ Medium_ 153. Find the minimum value in the rotation sort array