Skip to content

Instantly share code, notes, and snippets.

@sanemat
Created August 28, 2014 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanemat/2c6e0a5fb472dca707c4 to your computer and use it in GitHub Desktop.
Save sanemat/2c6e0a5fb472dca707c4 to your computer and use it in GitHub Desktop.
Use fluent-plugin-record-reformer
<match docker.containers.**>
type record_reformer
tag reformed.${tag}
<record>
message ${message.gsub(%r(://[\\w:-]{20,}), '://MASKED')}
</record>
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment