Log Service provides a machine learning feature that supports multiple algorithms and calling methods. During log query and analysis, you can use SELECT statements and machine learning functions to call machine learning algorithms to analyze the characteristics of a field or fields within a period of time.

In particular, Log Service offers diversified time series analysis algorithms to help you quickly solve problems related to time series prediction, time series anomaly detection, sequence decomposition, and multi-time series clustering. Additionally, the algorithms are compatible with standard SQL interfaces, which greatly simplifies use of the algorithms and improves troubleshooting efficiency.

Features

  • Various smooth operations on single-time series sequences are supported.
  • Algorithms related to prediction, anomaly detection, change point detection, inflexion point detection, and multi-period estimation of single-time series sequences are supported.
  • Decomposition operations on single-time series sequences are supported.
  • Various clustering algorithms of multi-time series sequences are supported.
  • Multi-field pattern mining (based on numeric or text columns) are supported.

Limits

  • The input time series data must be sampled from the same interval.
  • The input time series data cannot contain data repeatedly sampled from the same time point.
Item Limit
Valid capacity of time-series data processing Data collected from a maximum of 150,000 consecutive time points

If the limit is exceeded, you need to aggregate the data or reduce the sample data amount.

Clustering capacity of the density-based clustering algorithm A maximum of 5,000 time series curves, each of which cannot contain more than 1,440 time points
Clustering capacity of the hierarchical clustering algorithm A maximum of 2,000 time series curves, each of which cannot contain more than 1,440 time points

Functions

Category Function Description
Time series Smooth function ts_smooth_simple This function uses the Holt Winters algorithm to smooth time series data.
ts_smooth_fir This function uses the FIR filter to smooth time series data.
ts_smooth_iir This function uses the IIR filter to smooth time series data.
Multi-period estimation function ts_period_detect This function estimates period information in a time series.
Change point detection function ts_cp_detect This function finds intervals with different statistical characteristics within a time series. The interval endpoints are change points.
ts_breakout_detect This function finds the time point when statistics abruptly increase or decrease within a time series.
Prediction and anomaly detection function ts_predicate_simple This function models time series data by using default parameters and performs simple time series prediction and anomaly detection.
ts_predicate_ar This function models time series data by using an autoregressive model and performs simple time series prediction and anomaly detection.
ts_predicate_arma This function models time series data by using the autoregressive moving average model and performs simple time series prediction and anomaly detection.
ts_predicate_arima This function models time series data by using the autoregressive integrated moving average model with differences and performs simple time series prediction and anomaly detection.
Sequence decomposition function ts_decompose This function uses the STL algorithm to decompose the sequence of time series data.
Time series clustering function ts_density_cluster This function clusters time series data by using the density-based clustering method.
ts_hierarchical_cluster This function clusters time series data by using the hierarchical clustering method.
ts_similar_instance This function queries curves that are similar to a specified curve.
Pattern mining Frequent pattern statistics pattern_stat This function indicates the frequent pattern in statistical patterns. It is used to mine representative combinations of attributes among the given multi-attribute field samples.
Differential pattern statistics pattern_diff This function finds the pattern that causes differences between two sets under specified conditions.