[incomplete] modify filter API to be able to rename tag#291
[incomplete] modify filter API to be able to rename tag#291nokute78 wants to merge 5 commits intofluent:masterfrom
Conversation
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
Signed-off-by: Takahiro YAMASHITA <nokute78@gmail.com>
|
How this will work? Is it simillar like this fluentd plugin: rewrite_tag_filter? |
|
@nokute78 is this tested with static and dynamic tags plugins ? (e.g: in_tail ) ? |
|
@dawidmalina The PR doesn't add new function, but it will be ready to write the plugin to rewrite a tag. |
|
@edsiper Yes, this PR makes to rewrite static and dynamic tags, but I forgot to take care routing. I think dyntag helps to routing. Is there any idea ? |
Fluentd's filter doesn't allow rewriting tag. |
|
Oops, I had misunderstood. rewrite-tag-filter is output plugin.. This scheme makes routing more complex and worse performance. So, what we need is the way to re-emit. |
To edit tag with filter plugin like fluentd, I modified filter API.
Then we can edit tag at filter plugin side.
This is a diff to rename tag with out_stdout.(just a sample)