Skip to content
Discussion options

You must be logged in to vote

目前的实现的确会有这个问题,可以看下代码https://github.com/alibaba/ilogtail/blob/main/plugins/processor/split/char/split_char.go#L134 ,如果分隔符正好在最后一个字符的话,最后一个key是不会处理的。
@gohonsen 是否有兴趣来修改一下呢,golang这部分修改与测试都比较容易上手

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by messixukejia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants