Forecasting :: Kloudfuse Docs

Forecasting

Forecasting allows users to predict future values in a time series based on historical data. This enables proactive monitoring and resource planning.

By forecasting trends and patterns, you can anticipate potential issues, optimize resource allocation, and make data-driven decisions. Our platform supports two forecasting algorithms tailored to different data characteristics and forecasting needs:

Linear Forecast

Forecasts future values based on Linear Regression — linear trends in the data.

This approach is ideal for time series that exhibit a consistent trend without significant seasonal variations. Linear forecasting can help identify steady growth or decline over time, enabling simple trend prediction.

Example

@*:error``Everything``1m``forecast``linear

* | timeslice 60s | count_unique(@error) by (_timeslice) | predict (_count_unique) by 60s, model=linear, forecast=3600s

Seasonal Forecast

Forecasts future values from data that includes recurring seasonal patterns (hourly, daily, weekly) and trends.

Use Prophet, a sophisticated forecasting model that handles time series data with seasonal patterns and holiday effects. This algorithm is especially effective for data that shows recurring patterns — hourly, daily, weekly — and is capable of capturing both seasonality and trends. Seasonal forecasting is suitable for applications with clear cyclical behaviors.

Parameters

Seasonality
The Seasonal Forecast function has two options for seasonality, designed to capture the natural periodicity in log data:

Example

@*:error``Everything``1m``forecast``seasonal

* | timeslice 60s | count_unique(@error) by (_timeslice) | predict (_count_unique) by 60s, model=seasonal, seasonality=hourly, forecast=3600s