-
Notifications
You must be signed in to change notification settings - Fork 309
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
ES 7.x: [types removal] Specifying types in bulk requests is deprecated. #785
Comments
@cosmo0920 ... Yeah that has done the job... I'll RTFM next time. Thank you! |
This isnt working for me? fluent/fluentd:v1.11-1 with ws 7.7.1, im getting this error even after i add supress_type_name true for example:
|
Could you check unused parameter warning is raised from Fluentd on container? Thanks in advance. |
It's in the container logs for FluentD? Is that what you mean |
Does not work for me either, also the fix should probably not be to suppress the error as in ES v8 the functionality will be removed. |
@cdekok I was scared this only suppresses the warning too. But a look in the code (via related PRs) shows this is handled properly 😉 |
yes i see that's good to know and setting the default es version to 7 seemed to help the error to go away. This was on a slightly older version though perhaps that was the issue. |
When using elasticsearch 7 with fluentd, you seem to get a lot of warnings in the docker logs output that look like: [types removal] Specifying types in bulk requests is deprecated. The docs suggest adding suppress_type_name to stop these warnings, and that seems to work without affecting any functionality. Further info here: uken/fluent-plugin-elasticsearch#785 Closes-Bug: #1930856 Change-Id: I45be67df3717f78d78bcdc7df69600ab8681922f
* Update kolla-ansible from branch 'master' to 578ca1d64799dbc29585be8e0d9a6c9709762542 - Merge "Add suppress_type_name to stop warnings with ES7" - Add suppress_type_name to stop warnings with ES7 When using elasticsearch 7 with fluentd, you seem to get a lot of warnings in the docker logs output that look like: [types removal] Specifying types in bulk requests is deprecated. The docs suggest adding suppress_type_name to stop these warnings, and that seems to work without affecting any functionality. Further info here: uken/fluent-plugin-elasticsearch#785 Closes-Bug: #1930856 Change-Id: I45be67df3717f78d78bcdc7df69600ab8681922f
When using elasticsearch 7 with fluentd, you seem to get a lot of warnings in the docker logs output that look like: [types removal] Specifying types in bulk requests is deprecated. The docs suggest adding suppress_type_name to stop these warnings, and that seems to work without affecting any functionality. Further info here: uken/fluent-plugin-elasticsearch#785 Closes-Bug: #1930856 Change-Id: I45be67df3717f78d78bcdc7df69600ab8681922f
When using elasticsearch 7 with fluentd, you seem to get a lot of warnings in the docker logs output that look like: [types removal] Specifying types in bulk requests is deprecated. The docs suggest adding suppress_type_name to stop these warnings, and that seems to work without affecting any functionality. Further info here: uken/fluent-plugin-elasticsearch#785 Closes-Bug: #1930856 Change-Id: I45be67df3717f78d78bcdc7df69600ab8681922f
When using elasticsearch 7 with fluentd, you seem to get a lot of warnings in the docker logs output that look like: [types removal] Specifying types in bulk requests is deprecated. The docs suggest adding suppress_type_name to stop these warnings, and that seems to work without affecting any functionality. Further info here: uken/fluent-plugin-elasticsearch#785 Closes-Bug: #1930856 Change-Id: I45be67df3717f78d78bcdc7df69600ab8681922f (cherry picked from commit dee9d22)
(check apply)
Problem
Deprecated types is present in documents managed by latest fluentd version (Possibly the fluentd_elasticsearch plugin):
Same issue described here in fluentbit: fluent/fluent-bit#1359
Steps to replicate
Forward a document via the
elasticsearch
output plugin on any 7.X instance.Expected Behavior or What you need to ask
Correct doc type used in bulk requests to ES API.
Using Fluentd and ES plugin versions
The text was updated successfully, but these errors were encountered: