获取 unix 时间戳 Azure App Insights

Get unix timestamp Azure App Insights

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

AppInsights 中的每个 table 都有一个 "timestamp" 列,用于标记事件发生的时间。

为了转换为 Unix 时间戳,试试这个:

requests
| take 1
| project unixtime = tolong(timestamp - datetime(1970-01-01)) / 10000000