Closed flaviotorres closed 1 year ago
+1
any reason not to merge this obvious fix ?!
note: issue-#11
Sorry for not responding for so long.
I have confirmed that this problem is solved in the latest version. So I close this now. Thanks for contributing!
Config:
<source>
@type sample
tag "test"
sample {"message":"para Em preparação"}
rate 1
</source>
<match test.**>
@type remote_syslog
host "localhost"
port 22222
<buffer>
flush_mode immediate
</buffer>
</match>
<source>
@type syslog
tag "receive"
port 22222
bind "localhost"
</source>
<match receive.**>
@type stdout
</match>
Output log:
2022-09-28 11:58:04.000000000 +0900 receive.user.notice: {"host":"daipom-Thirdwave-PC","ident":"fluentd","message":"message:para Em preparação"}
fix illegal/malformed utf-8
source sequence is illegal/malformed utf-8, ignored error_class=JSON::GeneratorError tag="logs" record="{\"message \"=>\"19-08-2016 11:30:43 sem altera\xE7\xF5es\"}"
it should be: "sem alterações"