Azure 監視器記錄查詢語言差異Azure Monitor log query language differences

雖然 Azure 監視器中的記錄建置於 Azure 資料總管上,並使用相同的 Kusto 查詢語言,但該語言的版本確實存在一些差異。While logs in Azure Monitor is built on Azure Data Explorer and uses the same Kusto query language, the version of the language does have some differences. 這篇文章會識別用於資料總管的語言版本,與用於 Azure 監視器記錄查詢的版本之間不同的元素。This article identifies elements that are different between the version of the language used for Data Explorer and the version used for Azure Monitor log queries.

注意

本文最近有所更新,改為使用「Azure 監視器記錄」一詞,而非 Log Analytics。This article was recently updated to use the term Azure Monitor logs instead of Log Analytics. 記錄資料仍儲存在 Log Analytics 工作區中,並仍由相同的 Log Analytics 服務收集和分析。Log data is still stored in a Log Analytics workspace and is still collected and analyzed by the same Log Analytics service. 我們會持續更新術語,以更精確地反映 Azure 監視器記錄的角色。We are updating the terminology to better reflect the role of logs in Azure Monitor. 如需詳細資料,請參閱 Azure 監視器遙測變更See Azure Monitor terminology changes for details.

Azure 監視器中不支援的 KQL 元素KQL elements not supported in Azure Monitor

下列各節描述 Azure 監視器不支援的 Kusto 查詢語言的元素。The following sections describe elements of the Kusto query language that aren't supported by Azure Monitor.

Azure 監視器中不支援的陳述式Statements not supported in Azure Monitor

Azure 監視器中不支援的函式Functions not supported in Azure Monitor

Azure 監視器中不支援的運算子Operators not supported in Azure Monitor

Azure 監視器中不支援的外掛程式Plugins not supported in Azure Monitor

Azure 監視器中的其他運算子Additional operators in Azure Monitor

下列運算子支援特定 Azure 監視器功能,且無法在 Azure 監視器以外的地方使用。The following operators support specific Azure Monitor features and are not available outside of Azure Monitor.

後續步驟Next steps