Elasticsearch - Index Management
Which of the following is the correct syntax to add an alias named logs_current to an index called logs_2024 using Elasticsearch API?
{
"actions": [
{
"add": {
"index": "logs_2024",
"alias": "logs_current"
}
}
]
}