Kibana version:
7.10, 8.0
Elasticsearch version:
7.10, 8.0
Server OS version:
N/A
Browser version:
N/A
Browser OS version:
N/A
Original install method (e.g. download page, yum, from source, etc.):
Download page, source
Describe the bug:
It is possible for a record for the transform to exist in the Fleet registry but not exist in Elastic Search. This can happen when the install did not complete successfully. Another case is when the transform is deleted from ElasticSearch outside of Fleet.
Steps to reproduce:
Since this is only expected to happen in exceptional cases, we will have to induce it using approach #2.
- Start Kibana/ES
- Upgrade to the latest Endpoint Package.
- Ingest some metadata documents and ensure that it is visible in Endpoint App.
- Delete the transform using ES API or DevTools.
- Attempt to force install the endpoint package. This should try to remove the old package that is part of the Fleet registry and this will not find the Transform as expected in ES and should produce the error.
Expected behavior:
- Fleet should ignore 404 for missing transform. Future improvement in the Transform API should remove the need for the Fleet to remove the index when the Transform is removed from the package.
Screenshots (if relevant):
Errors in browser console (if relevant):
[resource_not_found_exception] Transform with id [endpoint.metadata_current-default-0.16.0] could not be found response from /_transform/endpoint.metadata_current-default-0.16.0: {"error":{"root_cause":[{"type":"resource_not_found_exception","reason":"Transform with id [endpoint.metadata_current-default-0.16.0] could not be found"}],"type":"resource_not_found_exception","reason":"Transform with id [endpoint.metadata_current-default-0.16.0] could not be found"},"status":404}
Provide logs and/or server output (if relevant):
Any additional context:
Kibana version:
7.10, 8.0
Elasticsearch version:
7.10, 8.0
Server OS version:
N/A
Browser version:
N/A
Browser OS version:
N/A
Original install method (e.g. download page, yum, from source, etc.):
Download page, source
Describe the bug:
It is possible for a record for the transform to exist in the Fleet registry but not exist in Elastic Search. This can happen when the install did not complete successfully. Another case is when the transform is deleted from ElasticSearch outside of Fleet.
Steps to reproduce:
Since this is only expected to happen in exceptional cases, we will have to induce it using approach #2.
Expected behavior:
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context: