发现在 doris output 配置中使用日志内容渲染不出来,如下图配置,文件输出可以正确渲染到指定问题,但是输出到doris会提示无法写入 "%{@table}", 看现象是没有渲染。
麻烦大佬们看看是我使用不对还是目前不支持,有无其他实现的办法
报错日志:
标准输出日志:
日志内容:
{"hostname":"-vm-33441","path":"/tmp/cmdb.log","request_id":"1202222-1_1","time":"2024-10-10 18:15:46.126","username":"anonymous","host":"vm-33441","@table":"cmdb","filename":"lb.py","@timestamp":"2024-10-10T10:18:43.763Z","@version":"1","function":"lb_handle","ip":"10.0.10.20","content":{"msg":"","output":"after update lb, aliyun, cn-shanghai"},"level":"INFO"}