commit | ab2383ad487de3bc6cd045fda097a1f268b80360 | [log] [tgz] |
---|---|---|
author | Bartosz Kupidura <bkupidura@mirantis.com> | Thu Jan 04 11:27:02 2018 +0100 |
committer | Bartosz Kupidura <bkupidura@mirantis.com> | Wed Jan 10 11:37:10 2018 +0100 |
tree | e6e2a8ad30e96d13d1e9cacf72062db5ae37fb31 | |
parent | 4552908e3463966bd25afaa724653aa1c6de40e3 [diff] |
Use new tag_rewrite format Previous syntax was deprecated Change-Id: I16fb5284aa4d5c4e05daeeadad661ca7067f4632
diff --git a/fluentd/files/match/rewrite_tag_filter.conf b/fluentd/files/match/rewrite_tag_filter.conf index b62f24f..3e8a164 100644 --- a/fluentd/files/match/rewrite_tag_filter.conf +++ b/fluentd/files/match/rewrite_tag_filter.conf
@@ -1,6 +1,10 @@ <match {{ values.tag }}> @type rewrite_tag_filter {%- for rule in values.rule %} - rewriterule{{ loop.index }} {{ rule.name }} {{ rule.regexp }} {{ rule.result }} + <rule> + key {{ rule.name }} + pattern {{ rule.regexp }} + tag {{ rule.result }} + </rule> {%- endfor %} </match>