dac_db_v3/_update_by_query post
{
“script”: {
“source”: “ctx._source[‘log_type’]=‘event-log’” //将log_type字段改为"event-log"
},
“query”: {
“term”: {
“log_type”: “eventlog” //查询log_type字段为"eventlog"
}
}
}
dac_db_v3/_update_by_query post
{
“script”: {
“source”: “ctx._source[‘log_type’]=‘event-log’” //将log_type字段改为"event-log"
},
“query”: {
“term”: {
“log_type”: “eventlog” //查询log_type字段为"eventlog"
}
}
}