-
Notifications
You must be signed in to change notification settings - Fork 47
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
The incoming YAML document exceeds the limit: 3145728 code points #96
Comments
Thank you for identifying this. We use the translate filter with large yaml files, and this is a dealbreaker for upgrading. |
We are stuck on 8.3.2 due to this as well. Please investigate! |
We migrated this particular pipeline to an Elasticsearch ingest node and used an enrich pipeline instead. We could then upgrade from 8.3.2 to 8.7.0 without any major side effects. Hope this helps others out there! |
It is an issue related to jruby psych and got a workaround in jruby The fix for this plugin wiill need update Psych usage |
added setting `yaml_dictionary_code_point_limit` to config the maximum code point limit of the yaml file in `dictionary_path` to overcome the 3MB size limit from SnakeYaml 1.33. This setting is only effective for yaml. Yaml file over the size limit throws an exception. JSON and CSV currently do not have such restriction. The default value of yaml_dictionary_code_point_limit is 128MB. Fixed: #96
Hi folks,
Description of the problem including expected versus actual behavior:
After change introduced in version 8.6.1 (Updated snakeyaml to 1.33 #14848) my logstash stopped working. This change is introducing limit of 3MB for YAML file due to CVE. I'm using translate filter plugin, with large YAML files as input. In version 8.6.0 everything works, because there is no file limit. In version 8.6.2 pipeline is not loading correctly.
Logstash information:
Plugins installed: (
bin/logstash-plugin list --verbose
)logstash-filter-translate (3.4.0)
Steps to reproduce:
Use large YAML file (25 MB in my case) with translate plugin:
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: