采集常见错误类型
更新时间 2025-09-26 18:22:21
最近更新时间: 2025-09-26 18:22:21
本文主要介绍采集常见错误类型。
以下为常见的错误类型以及对应的解决方法说明,可供参考。
LTS 错误码 | 错误说明 | 英文说明 | 解决方法 |
---|---|---|---|
LTS_1400 | 数据包从产生到发送的过程中等待的时间较长 | The waiting time for data packets from generation to transmission is relatively long | 检查发送是否正常,或是否存在数据量超过默认配置、配额不足或网络存在问题。 |
LTS_1401 | 无权限读取指定文件 | No permission to read the specified file | 检查lmtagent的启动账号,建议以root方式启动。 切要采集的日志目录具备读权限 |
LTS_1402 | 行首正则与日志行首匹配失败,无法对日志做分行 | Failed to match the beginning of the line with the log entry's starting pattern, unable to split the log into lines | 检查行首正则正确性。 若是单行日志可以配置为 |
LTS_1403 | 完整正则模式下,日志内容和正则表达式不匹配 | No match found between log content and regular expression in full regex mode | 查看错误详情,重新调整正则规则适配日志原文。 |
LTS_1404 | JSON、分隔符等模式下,由于日志格式不符合定义而解析失败 | Parsing failed in JSON, delimiter, and other modes due to mismatched log format definitions | 查看错误详情,重新调整规则适配日志原文。 |
LTS_1405 | 采集配置不合法 | The collection configuration is invalid | 采集配置JSON格式有误,可以通过控制台重新编辑下发规则。 |
LTS_1406 | 因超过服务器资源使用上限而崩溃 | Crashed due to exceeding server resource limits | 调整CPU/内存上限, 主机需要调整 /etc/systemd/system/lmtagent.service 里几个限额项 MemoryMax/MemoryLimit/CPUQuota ; 容器需要在ccse控制台调整日志插件的YAML文件中定义的限额项 resources.limit.cpu/resources.limit.memory。 |
LTS_1407 | 在Linux系统中注册日志监听失败,可能由于没有文件夹权限或文件夹被删除 | Failed to register the log listener in the Linux system, possibly due to lack of folder permissions or the folder being deleted | 检查采集器是否有权限访问该文件夹,或者该文件夹是否被删除。 |
LTS_1408 | 日志采集进度落后于日志产生进度 | Log collection is lagging behind log generation | 采集有部分延迟,应避免一个配置文件采集过多目录,可以通过拆分配置来解决,如果持续出现错误可以提工单反馈。 |
LTS_1409 | 日志采集进度落后于日志产生进度,且未处理的日志轮转超过20个,开始丢弃日志 | Log collection is lagging behind log generation, and with over 20 unprocessed log rotations, logs are now being discarded |
采集延迟较多,应避免一个配置文件采集过多目录,可以通过拆分配置来解决,如果持续出现错误可以提工单反馈。
|
LTS_1410 | 没有日志监控目录读取权限 | No read permission for the log monitoring directory | 检查日志监控目录是否存在。如果存在,请检查目录权限设置。 |
LTS_1411 | 日志采集配置目录中的文件数超限 | The number of files in the log collection configuration directory has exceeded the limit | 检查采集的目录下是否有较多文件和子目录并合理设置监控目录最大深度。 |
LTS_1412 | 进程退出时日志落盘到本地超时,此时会丢弃未落盘完成的日志 | When the process exits, flushing logs to disk times out, and any unfinished logs will be discarded | 该报错通常为采集严重阻塞导致,如果持续出现错误可以提工单反馈。 |
LTS_1413 | 输入源采集异常 | Input source collection exception | 查看详细报错,根据具体错误信息进一步排查。 |
LTS_1414 | 过滤器初始化异常 | Filter initialization exception | 一般由于过滤器的正则表达式非法导致,请根据提示修复。 |
LTS_1415 | 向聚合队列中添加数据失败 | Failed to add data to the aggregation queue | 数据发送过快。若真实数据量很大,可忽略。 |
LTS_1416 | Checkpoint解析失败 | Checkpoint parsing failed | 查看详细报错,根据其中检查点内容(前1024个字节)以及具体错误信息进一步排查。 |
LTS_1417 | 同时监听的目录数超出限制 | The number of simultaneously monitored directories exceeds the limit | 检查当前采集配置是否包含较多的目录数,合理设置监控目录最大深度。 |
LTS_1418 | 执行命令添加Docker文件映射失败 | Failed to add Docker file mapping when executing the command | 查看详细报错,根据具体错误信息进一步排查。 |
LTS_1419 | 无法在Docker容器中查找到指定文件 | The specified file could not be located within the Docker container | 查看详细报错,根据其中的容器信息以及查找的文件路径进一步排查。 |
LTS_1420 | service_docker_stdout插件错误,根据配置中的BeginLineRegex编译失败 | Error in service_docker_stdout plugin: failed to compile BeginLineRegex from configuration | 查看详细报错,检查其中的正则表达式是否正确。 |
LTS_1421 | 同时打开的文件对象数量超过限制 | The number of simultaneously open file objects has exceeded the limit | 一般因为当前处于采集状态的文件数过多,请检查采集配置是否合理。 |
LTS_1422 | processor_split_log_regex以及 processor_split_log_string插件错误,无法从日志中获取到配置中指定的SplitKey。 | Error in processor_split_log_regex and processor_split_log_string plugins: unable to extract the configured SplitKey from log data | 查看详细报错,检查是否存在配置错误的情况。 |
LTS_1423 | 执行LZ4压缩发生错误 | Error occurred during LZ4 compression execution | 查看详细报错,根据具体错误信息进一步排查。 |
LTS_1424 | 已打开文件数量超过限制,无法打开新的文件 | The number of open files has exceeded the limit, preventing new files from being opened | 日志采集配置目录中的文件数超限 ,默认上限为100000,需要检查采集配置是否通配了过多文件,调整采集规则。 |
LTS_1425 | 打开文件出错 | Error opening file | 文件无法打开,需要查看文件是否损坏。 |
LTS_1426 | processor_regex插件错误,编译配置中指定的Regex正则表达式失败 | Error in processor_regex plugin: failed to compile the Regex expression specified in the configuration | 查看详细报错,检查其中的正则表达式是否正确。 |
LTS_1427 | 日志解析速度过慢 | Log parsing speed is too slow | 查看详细报错,根据其中的日志数量、缓冲区大小、解析时间来确定是否正常。 如果不正常,检查是否有其他进程占用了过多的CPU资源或是存在效率较低的复杂正则表达式等不合理的解析配置。 |
LTS_1428 | processor_regex插件错误,无法从日志中找到配置中SourceKey指定的字段 | Error in processor_regex plugin: unable to locate the field specified by SourceKey in the configuration from the log data | 查看详细报错,检查是否存在SourceKey配置错误或日志不合法的情况。 |
LTS_1429 | processor_regex插件错误,匹配失败 | Error in processor_regex plugin: match failed | 查看详细报错,报错根据内容分为如下类型,请根据具体的错误信息进行排查。
|
LTS_1430 | split_char以及split_string插件错误,无法从日志中找到配置中SourceKey指定的字段 | Error in split_char and split_string plugins: unable to locate the field specified by SourceKey in the configuration from the log data | 查看详细报错,检查是否存在SourceKey配置错误或日志不合法的情况。 |
LTS_1431 | processor_split_char以及processor_split_string插件错误,解析得到的字段数量与SplitKeys中指定的不相同 | Error in processor_split_char and processor_split_string plugins: the number of parsed fields does not match the count specified in SplitKeys | 查看详细报错,检查是否存在SourceKey配置错误或日志不合法的情况。 |
LTS_1432 | 解析日志时间失败 | Failed to parse log timestamp | 正则表达式提取的时间字段是否正确。 指定的时间字段内容是否匹配配置中的时间表达式。 |
LTS_1433 | checkpoint相关错误 | Checkpoint-related error | 读取checkpoint文件格式异常,需要确认文件是否被修改,可能导致重采,如果持续出现错误可以提工单反馈。 |
LTS_1434 | inotify监听超限 | inotify watch limit exceeded | 监听目录数超限 ,默认上限为3000,需要检查采集配置是否通配了过多文件,调整采集规则。 |
LTS_1435 | 采集器启动配置不存在或解析失败 | Collector startup configuration does not exist or failed to parse | 主机采集器启动配置格式有误,需要确认文件是否被修改,如果持续出现错误可以提工单反馈。 |
LTS_1436 | 采集队列已满 | The collection queue is full | 网络中断等原因导致数据无法上报,反压队列满,会持续重试1h等待恢复,如果持续出现错误可以提工单反馈。 |
LTS_1437 | 本地目录下配置过多 | Too many configurations in the local directory | 查看详细报错,根据具体错误信息进一步排查。 |
LTS_1438 | 采集器上报插件初始化失败 | Collector reporting plugin initialization failed | 先确认VPCE私网域名是正常开通。如果持续出现错误可以提工单反馈。 |
LTS_1439 | 采集器上报插件endpoint无法连接 | Unable to connect to the endpoint of the collector reporting plugin | 先确认VPCE私网域名是正常开通,以及本地DNS到VPCE域名是否能ping通。如果持续出现错误可以提工单反馈。 |
LTS_1440 | 上报日志网关中出现错误 | Error occurred in the log gateway during reporting | token失效或者到日志网关的网络不通。如果是token失效需确认AK/SK是否有getToken权限。 |
LTS_1441 | 上报日志网关后返回错误 | The log gateway returned an error after reporting | 查看详细报错,根据具体错误信息进一步排查。 |
LTS_1442 | 获取token失败 | Failed to retrieve token | 用户指定的AK/SK 获取token失败,可能是未正确授权。查看详细报错,根据具体错误信息进一步排查。 |
LTS_1443 | 采集内部错误 | Internal collection error | 未定义在上面详细错误码的都归在此类,需要查看详细报错,根据具体错误信息进一步排查。 |