Starting datafeed params getDatafeedId timed out after timeout – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.16-8.4

Briefly, this error occurs when Elasticsearch is unable to start a datafeed within the specified timeout period. This could be due to heavy load, insufficient resources, or network issues. To resolve this, you can increase the timeout value, ensure that the Elasticsearch cluster has sufficient resources (CPU, memory, disk space), and check the network connectivity between the nodes. If the problem persists, consider optimizing your datafeed or reducing the amount of data it processes at a time.

This guide will help you check for common problems that cause the log ” Starting datafeed [” + params.getDatafeedId() + “] timed out after [” + timeout + “] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “Starting datafeed [” + params.getDatafeedId() + “] timed out after [” + timeout + “]” class name is TransportStartDatafeedAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 }  @Override
 public void onTimeout(TimeValue timeout) {
 listener.onFailure(
 new ElasticsearchException("Starting datafeed [" + params.getDatafeedId() + "] timed out after [" + timeout + "]")
 );
 }
 }
 );
 }

 

 [ratemypost]