Skip to content

Instantly share code, notes, and snippets.

@sw-samuraj
Created December 18, 2020 16:45
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 sw-samuraj/90a179100abcc98e300f9aa233d0c75c to your computer and use it in GitHub Desktop.
Save sw-samuraj/90a179100abcc98e300f9aa233d0c75c to your computer and use it in GitHub Desktop.
<filter cloudsql.cell.app>
@type record_transformer
enable_ruby
<record>
msg ${record["msg"].encode("UTF-8", invalid: :replace, replace: "__NON_ASCII_CHAR__")}
</record>
</filter>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment