POST hb_data/_update_by_query?timeout=10m
{
“script”:{
“source”:“ctx._source [‘mn’] =’ '”
},
“query”:{
“bool”: {
"must": [
{"term": {
"input_output": {
"value": "output"
}
}},{"term": {
"monitor_factor_type": {
"value": "a"
}
}},{"term": {
"pt": {
"value": "gky"
}
}}
]
}
}
}