Starting file settings watcher – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.4-8.7

Briefly, this error occurs when Elasticsearch initiates the process of monitoring changes in the Elasticsearch configuration files. It’s not an error, but an informational message indicating that the file settings watcher service has started. If you see this message frequently without making changes to your configuration, it might indicate a problem. To resolve this, ensure that your configuration files are correctly set up and not being unnecessarily modified. Also, check your Elasticsearch logs for any related errors or warnings that might indicate a problem with the file settings watcher.

This guide will help you check for common problems that cause the log ” starting file settings watcher … ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: settings.

Log Context

Log “starting file settings watcher …” classname is FileSettingsService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            refreshExistingFileStateIfNeeded(clusterState);

            return;
        }

        logger.info("starting file settings watcher ...");

        /*
         * We essentially watch for two things:
         *  - the creation of the operator directory (if it doesn't exist); symlink changes to the operator directory
         *  - any changes to files inside the operator directory if it exists; filtering for settings.json

 

 [ratemypost]