-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
if record is string. How to deal with it? #1279
Comments
No way. Fluentd can't handle string type record. |
Do senders or plugins emit string type record? |
Thank you for your quick reply. I will make a new PR to fluent/fluent-logger-node. |
Ah, okay. |
okkez
added a commit
to fluent/fluent-logger-node
that referenced
this issue
Oct 18, 2016
Based on #54 See also fluent/fluentd#1279
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see the fluentd docs talking based on the
record
is a hash record. What if a record is a string record? Is there a way to convert it? #591 mentioned it but no description how to deal with it.I tried to use transformer filter to convert like this but failed:
Output:
I tried
record.to_str
but the same error.I also tried to use filter_parser like this(configure errored if I wont add key_name):
Output:
I don't want to add format to
in_forward
because there are lots of sources use this port.The text was updated successfully, but these errors were encountered: