logstash doris output 按日志内容输出到不同的表

Viewed 40

发现在 doris output 配置中使用日志内容渲染不出来,如下图配置,文件输出可以正确渲染到指定问题,但是输出到doris会提示无法写入 "%{@table}", 看现象是没有渲染。
麻烦大佬们看看是我使用不对还是目前不支持,有无其他实现的办法
image.png
报错日志:
image.png

标准输出日志:
image.png
日志内容:
{"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"}

1 Answers

目前doris插件不支持动态获取table的值来导入