Description
The index.look_ahead_time
is the interval used to calculate the end_time
for a TSDS’s write index. Defaults to 30m. Accepts 1m (one minute) to 2h (two hours). Only time series indices support this setting.
For more information, refer to Look-ahead time.
Additionally this setting can not be less than time_series.poll_interval
cluster setting which by default it's 5 minutes and it can be set between 1 and 10 minutes.
Reducing the look_ahead time has the benefit that the newest backing index will start receiving data earlier. On the other hand, it also reduces the accepted time range in the future. For example, the current default value will accept documents with a timestamp up to 30 minutes in the future. If we reduce this to 5 minutes, this will only accept up to 5 minutes in the future.