Briefly, this error occurs when Elasticsearch successfully completes the deletion of expired data. This is not an error message but an informational message indicating that a routine cleanup task has been completed. Elasticsearch automatically deletes old data based on the retention policies set. No action is required if this is the expected behavior. However, if data is being deleted unexpectedly, you may need to review and adjust your retention policies or check if any automated scripts are triggering the deletion.
This guide will help you check for common problems that cause the log ” Completed deletion of expired data ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “Completed deletion of expired data” classname is TransportDeleteExpiredDataAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
// the previous action returned in which in the case of a transport_client_boss // thread is a disaster. remover.remove(new ThreadedActionListener(logger; threadPool; MachineLearning.UTILITY_THREAD_POOL_NAME; nextListener; false)); } else { logger.info("Completed deletion of expired data"); listener.onResponse(new DeleteExpiredDataAction.Response(true)); } } }