Successfully updated Watcher service settings to – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.8-8.9

Briefly, this error occurs when there are changes made to the Watcher service settings in Elasticsearch. This is not an error message but a confirmation message indicating that the changes have been successfully applied. If you didn’t intend to make these changes, you should review your Elasticsearch configuration and revert any unwanted changes. If you’re seeing unexpected behavior, ensure that the new settings are compatible with your Elasticsearch version and setup.

This guide will help you check for common problems that cause the log ” successfully updated Watcher service settings to {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, settings.

Log Context

Log “successfully updated Watcher service settings to {}” classname is TransportUpdateWatcherSettingsAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        try (ThreadContext.StoredContext ignore = threadContext.stashContext()) {
            updateSettingsService.updateSettings(clusterStateUpdateRequest; new ActionListener() {
                @Override
                public void onResponse(AcknowledgedResponse acknowledgedResponse) {
                    if (acknowledgedResponse.isAcknowledged()) {
                        logger.info("successfully updated Watcher service settings to {}"; request.settings());
                    } else {
                        logger.warn("updating Watcher service settings to {} was not acknowledged"; request.settings());
                    }
                    listener.onResponse(acknowledgedResponse);
                }

 

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?