Error in Transform job for field missing

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue : I am working on transform job where there is one field measurement based on the measurement value different fields will come . I am able to create transform job but due to that field is not present in every document it is showing following error and following
cardinality, extended_stats, geo_bounds, top_hits stats metric aggregations are not supported in transform job
i also tried putting missing:0 for avg
Configuration:

Relevant Logs or Screenshots:

Indexing failed for job metrics-hourly-memory-disk on index .opendistro-ism-config

one more query does transform job currently support
“data_selection_query”: {
“match_all”: {}
},
only the match_all