Reader small image

You're reading from  Scalable Data Analytics with Azure Data Explorer

Product typeBook
Published inMar 2022
Reading LevelBeginner
PublisherPackt
ISBN-139781801078542
Edition1st Edition
Languages
Concepts
Right arrow
Author (1)
Jason Myerscough
Jason Myerscough
author image
Jason Myerscough

Jason Myerscough is a director of Site Reliability Engineering and cloud architect at Nuance Communications. He has been working with Azure daily since 2015. He has migrated his company's flagship product to Azure and designed the environment to be secure and scalable across 16 different Azure regions by applying cloud best practices and governance. He is currently certified as an Azure Administrator (AZ-103) and an Azure DevOps Expert (AZ-400). He holds a first-class bachelor's degree with honors in software engineering and a first class master’s degree in computing.
Read more about Jason Myerscough

Right arrow

Anomaly detection and forecasting with KQL

By now, you should have a good understanding of the different components of time series such as seasonality, trends, and variations. KQL provides the series_decompose() function to calculate the values of these components for a given time series.

The series_decompose() function expects one required argument and four optional arguments. Let's look at these arguments in more detail:

  • series is the time series we would like to calculate the components for.
  • seasonality is set to -1 to have the function autodetect the seasonality, 0 to skip the seasonality analysis, or a positive integer to specify the expected period. The default value is -1 (auto-detect).
  • trend determines the type of trend analysis that's performed. There are three options we can specify at the time of writing:
    • avg specifies the average bins for the trend.
    • linefit specifies linear regression, which we learned about earlier, by using series_fit_line...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Scalable Data Analytics with Azure Data Explorer
Published in: Mar 2022Publisher: PacktISBN-13: 9781801078542

Author (1)

author image
Jason Myerscough

Jason Myerscough is a director of Site Reliability Engineering and cloud architect at Nuance Communications. He has been working with Azure daily since 2015. He has migrated his company's flagship product to Azure and designed the environment to be secure and scalable across 16 different Azure regions by applying cloud best practices and governance. He is currently certified as an Azure Administrator (AZ-103) and an Azure DevOps Expert (AZ-400). He holds a first-class bachelor's degree with honors in software engineering and a first class master’s degree in computing.
Read more about Jason Myerscough