操作系统信息
例如:虚拟机/物理机,Centos7.9,4C/8G
Kubernetes版本信息
容器运行时
KubeSphere版本信息
v3.4.1,在线安装,使用kk安装。
问题是什么
kubesphere配置收集容器标准输出日志对接外部ES如何实现多行日志合并
标准日志:
2024-10-29T08:54:57.237814674Z stdout F 08:54:57.234 [http-nio-8080-exec-7] ERROR c.r.f.w.e.GlobalExceptionHandler - [handleRuntimeException,100] - 请求地址'/login',发生未知异常.
2024-10-29T08:54:57.237893238Z stdout F com.ruoyi.common.exception.user.CaptchaExpireException: 验证码已失效
2024-10-29T08:54:57.237902979Z stdout F at com.ruoyi.framework.web.service.SysLoginService.validateCaptcha(SysLoginService.java:121)
2024-10-29T08:54:57.237908534Z stdout F at com.ruoyi.framework.web.service.SysLoginService.login(SysLoginService.java:67)
2024-10-29T08:54:57.237913604Z stdout F at com.ruoyi.web.controller.system.SysLoginController.login(SysLoginController.java:48)
2024-10-29T08:54:57.237935671Z stdout F at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
2024-10-29T08:54:57.237941104Z stdout F at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-10-29T08:54:57.237946005Z stdout F at java.lang.reflect.Method.invoke(Method.java:498)
2024-10-29T08:54:57.237951811Z stdout F at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
2024-10-29T08:54:57.237956985Z stdout F at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
期望合并后格式:
08:54:57.234 [http-nio-8080-exec-7] ERROR c.r.f.w.e.GlobalExceptionHandler - [handleRuntimeException,100] - 请求地址'/login',发生未知异常.
com.ruoyi.common.exception.user.CaptchaExpireException: 验证码已失效
at com.ruoyi.framework.web.service.SysLoginService.validateCaptcha(SysLoginService.java:121)
at com.ruoyi.framework.web.service.SysLoginService.login(SysLoginService.java:67)
at com.ruoyi.web.controller.system.SysLoginController.login(SysLoginController.java:48)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
目前输入到es中的格式:
跪求哪位大佬知道咋配置解析器