gpt4 book ai didi

azure-log-analytics - KQL 查询 - 在 where 子句中相对选择今天的数据

转载 作者:行者123 更新时间:2023-12-03 08:19:41 25 4
gpt4 key购买 nike

我需要一种方法来在 Azure Monitor 中选择“自午夜以来”的数据集 - 例如相对于当天。

使用 ago(1d) 显然不能解决问题:)

StorageBlobLogs
| where TimeGenerated > ago(1d) and StatusText contains "success"

干杯

最佳答案

您可以尝试使用startofday()

例如:... |其中 TimeGenerate > startofday(now())

关于azure-log-analytics - KQL 查询 - 在 where 子句中相对选择今天的数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68260264/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com