Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
project当我的数据通过 Azure App Insights 记录在 Azure 中时,我将如何获取 unix 时间戳?我知道我可以now()用来获取当前时间戳,但是一行的时间戳呢?
project
now()
AppInsights 中的每个表都有一个“时间戳”列,用于标记事件发生的时间。
为了转换为 Unix 时间戳,试试这个:
requests | take 1 | project unixtime = tolong(timestamp - datetime(1970-01-01)) / 10000000