Shadow an Indexed Field With a Runtime Field to Fix Errors

Shadow an Indexed Field With a Runtime Field to Fix Errors

Feb 11, 2021

The video contains a demonstration of using a runtime field to fix errors in the indexed data. We intentionally index documents with some errors, and then use a runtime field to shadow the indexed field. The demonstration shows how a user querying the data or creating a visualization in Kibana Lens will see the correct information, which is calculated in the runtime field. This scenario allows for immediate fixing of errors in the indexed data by shadowing them with runtime fields (instead of reindexing). Runtime field is the name given to the implementation of schema on read in Elasticsearch.

For this video, you can use the following example runtime field API calls: https://github.com/giladgal/Examples-for-Elasticsearch-runtime-fields-API-calls/blob/main/Shadow%20an%20indexed%20field%20with%20a%20runtime%20field%20to%20fix%20errors