diff --git a/x-pack/plugins/ecs_data_quality_dashboard/server/lib/data_stream/results_field_map.ts b/x-pack/plugins/ecs_data_quality_dashboard/server/lib/data_stream/results_field_map.ts index a8d4fadb72ca1..8fbb3c354df8d 100644 --- a/x-pack/plugins/ecs_data_quality_dashboard/server/lib/data_stream/results_field_map.ts +++ b/x-pack/plugins/ecs_data_quality_dashboard/server/lib/data_stream/results_field_map.ts @@ -18,8 +18,19 @@ export const resultsFieldMap: FieldMap = { totalFieldCount: { type: 'long', required: true }, ecsFieldCount: { type: 'long', required: true }, customFieldCount: { type: 'long', required: true }, + incompatibleFieldItems: { type: 'nested', required: true, array: true }, + 'incompatibleFieldItems.fieldName': { type: 'keyword', required: true }, + 'incompatibleFieldItems.expectedValue': { type: 'keyword', required: true }, + 'incompatibleFieldItems.actualValue': { type: 'keyword', required: true }, + 'incompatibleFieldItems.description': { type: 'keyword', required: true }, + 'incompatibleFieldItems.reason': { type: 'keyword', required: true }, incompatibleFieldCount: { type: 'long', required: true }, sameFamilyFieldCount: { type: 'long', required: true }, + sameFamilyFieldItems: { type: 'nested', required: true, array: true }, + 'sameFamilyFieldItems.fieldName': { type: 'keyword', required: true }, + 'sameFamilyFieldItems.expectedValue': { type: 'keyword', required: true }, + 'sameFamilyFieldItems.actualValue': { type: 'keyword', required: true }, + 'sameFamilyFieldItems.description': { type: 'keyword', required: true }, sameFamilyFields: { type: 'keyword', required: true, array: true }, unallowedMappingFields: { type: 'keyword', required: true, array: true }, unallowedValueFields: { type: 'keyword', required: true, array: true },