I’m not sure what you mean by “moved the AI index” but you definitely don’t want to be moving around files on the filesystem if that’s what you mean.
The best advice is probably to wait for 8.19.5, which ought to be out very soon.
If you can’t wait a day or two, or if upgrading cannot be done quickly for some reason, you can reindex the .kibana-observability-ai-assistant-kb-000001
index. For example:
First reindex .kibana-observability-ai-assistant-kb-000001
into a new index named .kibana-observability-ai-assistant-kb-000002
:
POST _reindex
{
"source": {
"index": ".kibana-observability-ai-assistant-kb-000001"
},
"dest": {
"index": ".kibana-observability-ai-assistant-kb-000002"
}
}
Once that succeeds, delete the original index:
DELETE .kibana-observability-ai-assistant-kb-000001
Re-create the original index:
PUT .kibana-observability-ai-assistant-kb-000001
Now re-index back into the original index (this is all because there is no rename in elasticsarch):
POST _reindex
{
"source": {
"index": ".kibana-observability-ai-assistant-kb-000002"
},
"dest": {
"index": ".kibana-observability-ai-assistant-kb-000001"
}
}
Check that the alias is still intact:
GET .kibana-observability-ai-assistant-kb/
and
GET _cat/aliases/.kibana-observability-ai-assistant-kb?v
If anything is wrong, fix the alias:
POST _aliases
{
"actions": [
{
"add": {
"index": ".kibana-observability-ai-assistant-kb-000001",
"alias": ".kibana-observability-ai-assistant-kb",
"is_write_index": true
}
}
]
}
And once everything is good, delete the extra copy of the index:
DELETE .kibana-observability-ai-assistant-kb-000002