Last active
August 29, 2015 14:02
-
-
Save y-ken/62fe5b0af727cace9d5c to your computer and use it in GitHub Desktop.
How do you plan for using Filter for Fluentd v1?
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
<match apache.access> | |
type record_reformer | |
enable_ruby false | |
tag reform.apache.access | |
<record> | |
hostname ${hostname} | |
</record> | |
</match> | |
<match reform.apache.access> | |
type geoip | |
tag geoip.apache.access | |
<record> | |
location [#{lontitude}, #{latitude}] | |
</record> | |
</match> | |
<match geoip.apache.access> | |
type anonymizer | |
ipaddr_mask_keys host | |
tag td.apache.access | |
</match> | |
<match td.apache.access> | |
type tdlog | |
#...snip... | |
</match> |
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
<match apache.access> | |
type record_reformer | |
enable_ruby false | |
tag reform.apache.access | |
<record> | |
hostname ${hostname} | |
</record> | |
<match **> | |
type geoip | |
tag geoip.apache.access | |
<record> | |
location [#{lontitude}, #{latitude}] | |
</record> | |
<match **> | |
type anonymizer | |
ipaddr_mask_keys host | |
tag td.apache.access | |
<match td.*.*> | |
type tdlog | |
#...snip... | |
</match> | |
</match> | |
</match> | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://twitter.com/yoshi_ken/status/479905422980026369