POST /my_metric/_update_by_query
{
"query": {
"bool": {
"must": [
{
"term": {"timestamp": "1324987657365"}
}
]
}
},
"script": "ctx._source.timestamp = '1573775999999'"
}
this query update only 1324987657365 value. i need to update all the values in timestamp field. How can i do that