Hi
I am triying to copy specific documents from one index to a new index by the following syntax:
curl -X POST "localhost:9200/_reindex" -H 'Content-Type: application/json' -d'
{
"source": {
"index": "2018.12.19",
"type": "json",
"query": {
"match": {
"Vendor" : "Cisco"
}
}
},
"dest": {
"index": "2018.12.19new"
}
}'
But when I execute this, always shows that does not math anything and it does not create the new index, but if I search in Kibana in this index i can view events with Vendor:Cisco. Anyone knows why is happening this? Thanks