Ich versuche mein Index mit dem intruction enter link description here und ich die intructions auf diese Weise laufen zu benennen:Index Umbenennung nicht mit curl
curl -XPOST '<ip>:9200/ -H 'Content-Type: application/json' -d'
{
"source": {
"index": "app_access_446"
},
"dest": {
"index": "app_access_447"
}
}
'
Aber ich bekomme diese Antwort
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"invalid version format: -H CONTENT-TYPE: HTTP/1.1"}],"type":"illegal_argument_exception","reason":"invalid version format: -H CONTENT-TYPE: HTTP/1.1"},"status":400}curl: (3) [globbing] nested braces not supported at pos 36
Was ich bin falsch machen?
Grüße Niesel
Sie sind ein Apostroph nach der Portnummer fehlt? + Sie müssen den '_reindex' Endpunkt verwenden – Val
Oh, danke. Das war das Problem. :) –