19,621
社区成员
发帖
与我相关
我的任务
分享
pod产生的日志输出到宿主机的container的目录下的应用日志格式如下
2023-09-17T17:13:40.822017697+08:00 stdout F 2023-09-17 17:13:40.821 [136ba77ed66441f088ce86a97d715aa7] [http-nio-8821-exec-20] INFO xxxxxxxxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.815742958+08:00 stdout F 2023-09-17 17:13:40.815 [c39b3acc29d240e89ae8d4758e78a103] [http-nio-8821-exec-21] INFO xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.796323424+08:00 stdout F 2023-09-17 17:13:40.796 [c39b3acc29d240e89ae8d4758e78a103] [http-nio-8821-exec-21] INFO xxxxxxxxxxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.79634189+08:00 stdout F -------------------------------------------------------------
2023-09-17T17:13:40.796344964+08:00 stdout F xxxxxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.796347227+08:00 stdout F xxxxxxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.796349125+08:00 stdout F xxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.79635117+08:00 stdout F xxxxxxxxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.796353227+08:00 stdout F xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2023-09-17T17:13:40.796355746+08:00 stdout F -------------------------------------------------------------
2023-09-17T17:13:40.796357332+08:00 stdout F
怎样才能把前面这些信息2023-09-17T17:13:40.822017697+08:00 stdout F 去掉呢,用log收集工具输出到es,在kibana上看的时候很不方便