Cordial greetings Warkolm, in the url I see that there are some examples in my case if I want to condition several users or a specific test role, how can the query go. Thanks.
POST /_aliases
{
"actions": [
{
"add": {
"index": "metricbeat-*",
"alias": "alias_metricbeat",
"filter": { "term": { "?": "test" } }
}
}
]
}