How can I list only the location of all snapshots?
I tried:
curl -q -XPOST -H "Content-Type: application/json" -u elastic:mypassword "https://10.0.0.1:9200/_snapshot/_all" -d '{
"_source": ["location"],
"query" : {
"exists": {
"field": "location"
}
}
}'
and any other, but I didn't get results. Normally 400 error, or body problems.
