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

td-agent 'encode' warning #3

Open
ThreatHunterDiary opened this issue Jan 30, 2017 · 3 comments
Open

td-agent 'encode' warning #3

ThreatHunterDiary opened this issue Jan 30, 2017 · 3 comments

Comments

@ThreatHunterDiary
Copy link

Hi Team,

I am getting an error in sending data from td-agent to splunk..

Though I am receiving data on splunk end, I believe some of the data are getting dropped because of the error, and I am not sure what's causing the error!

Error:

[warn]: suppressed same stacktrace
[warn]: record_reformer: Encoding::UndefinedConversionError "\xEF" from ASCII-8BIT to UTF-8 /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-splunk-ex-1.0.2/lib/fluent/plugin/out_splunk_ex.rb:83:in `encode'
[warn]: emit transaction failed: error_class=Encoding::UndefinedConversionError error="\"\\xEF\" from ASCII-8BIT to UTF-8" tag="XYZ"

@gtrevg
Copy link
Owner

gtrevg commented Apr 20, 2017

@jet1276 Hmm... I'll have to see what may be causing this. I'll have to write some unit tests that test out UTF-8 characters to see how it affects the system. There may be some sort of encoding setting that I have to set. If that doesn't work, I'll have to catch the error and see if it can get encoded in a different fashion.

@ThreatHunterDiary
Copy link
Author

Hi @gtrevg,

Any update on this one??

I'm still getting the error time to time.

@fuxes
Copy link

fuxes commented Sep 10, 2018

@jet1276 @gtrevg Have you found a workaround or a fix for this issue?

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

3 participants