Created
November 15, 2012 12:25
-
-
Save matsumana/4078402 to your computer and use it in GitHub Desktop.
Fluentd受信側 fluent-plugin-rewrite版とfluent-plugin-rewrite-tag-filter版のdiff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% diff fluent_aggregate_rewrite.conf fluent_aggregate_rewrite-tag-filter.conf | |
6,23c6,11 | |
< type rewrite | |
< add_prefix rewrited | |
< <rule> | |
< key path | |
< pattern \.(gif|jpe?g|png|ico|css|js)$ | |
< ignore true | |
< </rule> | |
< <rule> | |
< key path | |
< pattern ^/$ | |
< replace /top | |
< </rule> | |
< <rule> | |
< key path | |
< pattern ^\/([^\/]+) | |
< fallback others | |
< append_to_tag true | |
< </rule> | |
--- | |
> type rewrite_tag_filter | |
> capitalize_regex_backreference yes | |
> rewriterule1 path \.(gif|jpe?g|png|ico|css|js)$ ignore | |
> rewriterule2 path ^/$ rewrited.apache.access.top | |
> rewriterule3 path ^\/([^\/]+) rewrited.apache.access.$1 | |
> rewriterule4 path .* rewrited.apache.access.others #fallback | |
80a69,72 | |
> | |
> <match ignore> | |
> type null | |
> </match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment