Skip to content

Forecasting

OpenSearch Forecasting extends the anomaly detection framework to predict future values of your time-series data. Use it to anticipate capacity needs, predict traffic patterns, and proactively address issues before they occur.

  • Forecaster: A configuration similar to an anomaly detector that defines what data to forecast, which features to predict, and the forecast horizon.
  • Forecast horizon: How far into the future to predict. The forecaster generates predicted values for each interval up to the horizon.
  • Features: The aggregations to forecast — the same feature types used in anomaly detection (averages, counts, sums, etc.).
  • Confidence intervals: Each predicted value includes upper and lower bounds indicating the range of expected values.

Forecasting is useful for capacity planning and proactive operations:

Use caseWhat to forecast
Capacity planningDisk usage, memory consumption, index size
Traffic predictionRequest rate, connection count
Cost estimationIngestion volume, storage growth
SLA managementLatency trends, error rate trajectory
  1. Open OpenSearch Dashboards and navigate to Forecasting (available alongside Anomaly Detection).
  2. Create a forecaster by selecting an index and defining features to predict.
  3. Set the forecast horizon — how many intervals ahead to predict.
  4. Run the forecaster to generate predictions.
  5. View predicted values alongside actual data to validate accuracy.

Combine forecasting with Alerting to get notified when forecasts predict a threshold breach. For example, alert when forecasted disk usage is predicted to exceed 80% within the next 24 hours.

For the full reference — including forecaster APIs, tuning parameters, and supported aggregation types — see the Forecasting documentation in the official OpenSearch docs.