-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Deprecation Warnings] x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js #32458
Comments
_type
is actually rewritten in this custom ES endpoint to not be the type
of the document, but rather a type
field nested in the source
of the indexed document. We need to remove this change.
Pinging @elastic/stack-monitoring |
@chrisronline @tsullivan could you please help us with this issue or give us more details? We couldn't find broken cases if we remove '_type' from the 'bulk' request. Below you can find more information about the request which we send to the ES if you need |
I think this needs to be fixed in ES. This is the deprecation log which is connected to the monitoring bulk endpoint through RestMonitoringBulkAction -> XPackRestHandler. We might need to add some logic to avoid the deprecation warning for the monitoring rest action. Pinging @jakelandis about this. I'm not sure if you are the best contact, but maybe you know who might be. Thanks! |
@alexwizp and @chrisronline are correct that this will break monitoring since ES converts that Could we instead of sending a The proposed change here would result in request like this:
This change will only work once a change is made to ES, which I will do ASAP. Note - We will want to update Logstash and Beats to this as well since they have the same issue. |
Thanks for chiming in @jakelandis. If we get this change in for 7.0 for Kibana, Logstash, and Beats, are we okay with the experience for users on <= 6.7, assuming they are on ES 7.0? They'll basically continue to see the deprecation logs (which aren't actionable for them directly) until they upgrade those products to 7.0 pinging @elastic/stack-monitoring team here too |
Yes. This isn't the only case of a 6.7 cluster -> 7.0 triggering deprecation warnings. Fortunately none of them are of the spamming variety and will only show up once per start of ES. |
@jakelandis Thanks. Opened #32503 |
From this comment, the ES team will:
I'm going to close this ticket and link the ES ticket (once opened by @jakelandis) here |
Fix deprecation warning message for the following code:
This will actually break internal collection. It's a bit confusing because the endpoint we use to index monitoring documents is a different endpoint than the typical bulk endpoint. This
_type
is actually rewritten in this custom ES endpoint to not be thetype
of the document, but rather atype
field nested in thesource
of the indexed document. We need to remove this change.Originally posted by @chrisronline in #32315
The text was updated successfully, but these errors were encountered: