Created alias for deprecated data frame notifications index – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.5-8.9

Briefly, this error occurs when Elasticsearch creates an alias for a deprecated data frame notifications index. This means that the index you are using is outdated and has been replaced with a newer version. To resolve this issue, you can either update your Elasticsearch to the latest version or change your index to the newer version. Additionally, you can also use the alias created by Elasticsearch as it points to the new index. However, it’s recommended to update your system to avoid similar issues in the future.

This guide will help you check for common problems that cause the log ” Created alias for deprecated data frame notifications index ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, index, alias.

Log Context

Log “Created alias for deprecated data frame notifications index” classname is TransformClusterStateListener.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        // if there is a flurry of cluster state updates in quick succession
        if (event.localNodeMaster() && isIndexCreationInProgress.compareAndSet(false; true)) {
            createAuditAliasForDataFrameBWC(event.state(); client; ActionListener.wrap(r -> {
                isIndexCreationInProgress.set(false);
                if (r) {
                    logger.info("Created alias for deprecated data frame notifications index");
                } else {
                    logger.debug("Skipped creating alias for deprecated data frame notifications index");
                }
            }; e -> {
                isIndexCreationInProgress.set(false);

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?