Created
May 21, 2015 02:46
-
-
Save hirokiky/434bfb5007022bd4b5ba to your computer and use it in GitHub Desktop.
Fluentd: Enjoy forever. This config causes `stack level too deep (SystemStackError)`. Allof memory willbe eaten, No log will be executed and your server will fail...
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
<source> | |
type forward | |
</source> | |
<match **> | |
type record_reformer | |
renew_record false | |
enable_ruby true | |
tag ip_formatted.${tag} | |
<record> | |
client_ip ${client_ip} | |
</record> | |
</match> | |
<match ip_formatted.**> | |
type stdout | |
</match> |
Have you looked at the new filter plugins? http://docs.fluentd.org/articles/filter_record_transformer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's awesome 😱