We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
splunk-cloudwatch-logs-processor
When handling logs with non-ASCII information, the splunk-cloudwatch-logs-processor lambda blows up
This is because it is trying to read the event string using the ASCII encoding https://github.com/splunk/splunk-aws-serverless-apps/blob/master/splunk-cloudwatch-logs-processor/index.js#L46
A quick fix for this is to instead use utf-8 encoding when reading the AWSevent
The text was updated successfully, but these errors were encountered:
It looks like we can guarantee messages will be in utf-8. From aws documentation:
Event messages must be UTF-8 encoded
Sorry, something went wrong.
No branches or pull requests
What
When handling logs with non-ASCII information, the splunk-cloudwatch-logs-processor lambda blows up
Why
This is because it is trying to read the event string using the ASCII encoding
https://github.com/splunk/splunk-aws-serverless-apps/blob/master/splunk-cloudwatch-logs-processor/index.js#L46
Quick Fix
A quick fix for this is to instead use utf-8 encoding when reading the AWSevent
Reproducing this issue
The text was updated successfully, but these errors were encountered: