-
想为 flusher_elasticsearch 增加动态索引的功能,执行时遇到错误 flusher 动态索引配置如下
同时修改了 flusher_elasticsearch.go,主要更改如下
执行编译 make plugin_local,并启动 ilogtail,日志 logtail_plugin.LOG 报错如下
翻阅代码,只能是 convert.go 里的 findTargetValues
这里面也许涉及一些协议上的逻辑,暂时不明白底层的东西,不太好改,可能 flusher_elasticsearch 插件的作者也曾努力到这里,最后留下一个 TODO。请问有解决办法吗? |
Beta Was this translation helpful? Give feedback.
Answered by
shalousun
Jul 5, 2023
Replies: 1 comment
-
fmtstr.FormatIndex是在 flusher_elasticsearch后面开发的,所以保留了TODO
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
liangry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fmtstr.FormatIndex是在 flusher_elasticsearch后面开发的,所以保留了TODO