Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installed cloud logging ageng on GCE VM instance and send log to StackDriver logging, then Japanese log is not displayed #271

Open
cocoa-maemae opened this issue Jul 2, 2020 · 1 comment

Comments

@cocoa-maemae
Copy link

cocoa-maemae commented Jul 2, 2020

Event

I installed cloud logging agent on GCE VM instance. Sending logs to StackDriver logging is successful, however, Japanese(non-ASCII characters) logs will be disappeared on StackDriver logging. Not character corruption, only they will be empty on StackDriver logging. English logs will be displayed normally.
I checked on GCE VM instance, and then Japanese(non-ASCII characters) logs were displayed normally on the sending target log file. Are non-ASCII characters removed during sending to StackDriver? If that, I'd like to support non-ASCII characters as well.

Environment

GCE VM instance OS: Debian
cloud logging agent config like the below.

<source>
  @type tail
  format none
  path $log_path
  pos_file $pos_path
  read_from_head true
  tag $tag_name
</source>
@zhuqiyu
Copy link

zhuqiyu commented Jan 19, 2021

<filter **>
@type record_modifier
char_encoding utf-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants