Build ADX Kusto query configs with KQL queries for latency percentiles, anomaly detection, time series, and materialized views.
Build ADX Kusto query configs with KQL queries for latency percentiles, anomaly detection, time series analysis, and materialized views.
Required Fields
clusterNamedatabasequeriesqueries[0].namequeries[0].kqlOutput will appear here...Build Azure Data Explorer (Kusto) KQL queries for time-series analysis (percentile-based latency summaries, series_decompose_anomalies-based anomaly detection, funnel analysis via sequential left-outer joins) plus tableSchema and materializedViews definitions. series_decompose_anomalies takes a sensitivity threshold (1.5 in the example) as its second argument, a lower threshold flags more points as anomalous (more sensitive, more false positives), a higher threshold flags fewer (less sensitive, more missed real anomalies), tuning this value against your actual metric's normal variance is what determines whether the anomaly detection is actually useful or just noise, there's no universal correct value, it depends entirely on how volatile the underlying series naturally is.
The tool validates that clusterName, database, queries, and the first query's name/kql resolve, then assembles the combined query set, table schema, and materialized view definitions into a reference specification matching ADX's expected structures; it doesn't execute the KQL or validate it against the live cluster, syntax correctness and actual query performance are only confirmed when run against a real ADX cluster and dataset.
Tune series_decompose_anomalies' sensitivity against real historical data for the specific metric being monitored, don't reuse a threshold from a different metric with different natural variance, an untuned threshold either floods you with false positives or misses real anomalies entirely.
Reach for a materialized view specifically when a query pattern is both expensive to compute and queried repeatedly (dashboards, frequent reports), the upfront cost of maintaining the materialized view pays off quickly against repeated raw-table aggregation.
Use left-outer (not inner) joins for any funnel or drop-off analysis, an inner join silently discards exactly the non-converting cases that funnel analysis exists to measure.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.