Alias APIs in ElasticSearch

I have a doubt in Alias APIs. Can Elasticsearch itself creates alias when a new value is added for a field?

alias-name : {value}
{
    "filter": {
        "term": {
            "fieldname": {value}
        }
    }
}

Welcome to our community! :smiley:

Just to be clear you are talking about Alias field type | Elasticsearch Guide [8.5] | Elastic right?

No @warkolm . I am talking about alias for index that needs to created when a new value is added for a field.

Do you want to automatically create a filtered alias for the index when a document with a new, not previously seen value is indexed? This is as far as I know not possible.