Skip to content

Commit 7b08ed6

Browse files
committed
rewrite_tag_filter: Fix the incorrect pattern
Signed-off-by: Haoyuan Ge <harryge@qq.com>
1 parent 99b58aa commit 7b08ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/output/rewrite_tag_filter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ prefixed with the value of the key `message`:
2626
@type rewrite_tag_filter
2727
<rule>
2828
key message
29-
pattern /^(w+)$/
29+
pattern /^\[(\w+)\]/
3030
tag $1.${tag}
3131
</rule>
3232
</match>

0 commit comments

Comments
 (0)