获取 unix 时间戳 Azure App Insights

Woo*_*der 4 azure azure-application-insights ms-app-analytics

project当我的数据通过 Azure App Insights 记录在 Azure 中时,unix 时间戳如何?我知道我可以用来now()获取当前时间戳,但是行的时间戳又如何呢?

小智 6

AppInsights 中的每个表都有一个“时间戳”列,用于标记事件发生的时间。

为了转换为 Unix 时间戳,请尝试以下操作:

requests
| take 1
| project unixtime = tolong(timestamp - datetime(1970-01-01)) / 10000000
Run Code Online (Sandbox Code Playgroud)