private void createOrUpdateIndexAlias(final String aliasName) {
        try {
            String actualIndex = getActualIndexName();
            // Create the actual index if it doesn't exist
            if (!existsIndex(actualIndex)) {
                createIndex(actualIndex);
                LogUtils.info(LOG, "Created new date-based index: {}", actualIndex);
            }
            
            // Create or update the alias to point to the current index
            client.indices().putAlias(r -> r.index(actualIndex).name(aliasName));
            LogUtils.info(LOG, "Updated alias {} to point to index {}", aliasName, actualIndex);
        } catch (Exception e) {
            LogUtils.error(LOG, "Failed to create/update alias: ", e);
        }
    }
Create an index alias that points to all date-based indices.

@param aliasName the alias name
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-elasticsearch/src/main/java/org/apache/shenyu/plugin/logging/elasticsearch/client/ElasticSearchLogCollectClient.java