-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Ingest Manager] Updating a package immediately after a rollover fails #79370
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Pinging @elastic/endpoint-management (Team:Endpoint Management) |
@ruflin I reached to the elasticsearch team to see if it is expected behavior that the |
Actually I chatted with @danhermann and this is the expected behavior as stated by the docs: https://www.elastic.co/guide/en/elasticsearch/reference/7.x/keyword.html#constant-keyword-field-type
I'm not sure if we'd want to do this, but we could add the Except the |
@jonathan-buttner thanks for creating this issue. the only reason the error is thrown is because EPM does not know the I haven't tried it yet but I think we can pass mappings to the rollover, so perhaps we can pass the constants' values so they always get carried over. |
Bug Conversion
Thanks! |
Updating a package immediately after performing a rollover on a data stream fails.
Steps to reproduce:
POST http://elastic:changeme@localhost:5601/api/ingest_manager/epm/packages/endpoint-0.16.0-dev.3?force=true
https://github.com/elastic/kibana/blob/9d07a677b89a723db55a3f307bfb09c7ae189de5/x-pack/test/functional/es_archives/endpoint/pipeline/dns/data.json.gz
The above archive will populate data in the
logs-endpoint.events.network-default
data stream.POST /logs-endpoint.events.network-default/_rollover
value
fields associated with thedata_stream
object:This is thrown here:
kibana/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/template.ts
Line 407 in c456f64
value
fields populated underdata_stream
Or after some time this:
The text was updated successfully, but these errors were encountered: