Skip to content

Instantly share code, notes, and snippets.

@hirokiky
Created May 21, 2015 02:46
Show Gist options
  • Save hirokiky/434bfb5007022bd4b5ba to your computer and use it in GitHub Desktop.
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...
<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>
@hirokiky
Copy link
Author

it's awesome 😱

@kiyoto
Copy link

kiyoto commented May 21, 2015

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