// This file is autogenerated, DO NOT EDIT
// alias.asciidoc:54

[source, python]
----
resp = client.indices.update_aliases(
    actions=[
        {
            "add": {
                "index": "logs-*",
                "alias": "logs"
            }
        }
    ],
)
print(resp)
----
