Azure Analysis Service Cube Cos Process从日志分析

发布于 2025-02-13 01:54:11 字数 743 浏览 1 评论 0原文

我正在尝试从日志分析中获取所有Azure Analysis Services Cube Process状态,使用以下KQL在日志分析上,但始终获得零记录。

您能帮助哪个日志分析表和列列出立方体流程的状态。

let sessionIdInProgress = aas_engine
| where ['time'] > ago(1d)
//and operationName == 'ProgressReportBegin'
and  operationName == 'ProgressReportEnd'
| summarize by SessionID
| project SessionID;

aas_engine
| where ['time'] >ago(1d)
and SessionID !in ( sessionIdInProgress )
and operationName == 'ProgressReportCurrent'
| extend endTime = now()
| extend durationInHours = datetime_diff('hour', endTime, StartTime)
| extend durationInMinutes = datetime_diff('minute', endTime, StartTime)
| project SessionID, StartTime, durationInMinutes, durationInHours, operationName, resourceId

谢谢, 梵

I am trying to get all azure analysis services cube process status from Log analytics, using below KQL on Log analytics but getting zero records always.

Can you please help which Log analytics table and columns gives status of cube process.?

let sessionIdInProgress = aas_engine
| where ['time'] > ago(1d)
//and operationName == 'ProgressReportBegin'
and  operationName == 'ProgressReportEnd'
| summarize by SessionID
| project SessionID;

aas_engine
| where ['time'] >ago(1d)
and SessionID !in ( sessionIdInProgress )
and operationName == 'ProgressReportCurrent'
| extend endTime = now()
| extend durationInHours = datetime_diff('hour', endTime, StartTime)
| extend durationInMinutes = datetime_diff('minute', endTime, StartTime)
| project SessionID, StartTime, durationInMinutes, durationInHours, operationName, resourceId

Thanks,
Brahma

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妳是的陽光 2025-02-20 01:54:11

我已经联系了Microsoft支持团队,他们帮助我从日志分析中获得了Azure Analysis服务Cube流程状态。

以下是样本KQL:

let CompletedConnectionID = aas_engine
| where ['time'] > ago(10h)
and EventClass == 'COMMAND_END' 
and TextData contains "RefreshType"
| summarize by ConnectionID
| project ConnectionID;

let CubeProcessActiveAAS = aas_engine
| where ['time'] > ago(10h)
and EventClass == 'COMMAND_BEGIN' 
and TextData contains "RefreshType"
and ConnectionID !in ( CompletedConnectionID )
| extend EndTime1 = case(isnull(EndTime), now(), EndTime )
| extend Status = case(isnull(EndTime), 'Inprogress', 'Completed' )
| extend durationInMinutes = datetime_diff('minute', EndTime1, StartTime)
| summarize by ServerName, StartTime,durationInMinutes,Status,ConnectionID

I have reached Microsoft support team and they helped me to get Azure Analysis Service Cube process status from Log analytics.

Below is sample KQL:

let CompletedConnectionID = aas_engine
| where ['time'] > ago(10h)
and EventClass == 'COMMAND_END' 
and TextData contains "RefreshType"
| summarize by ConnectionID
| project ConnectionID;

let CubeProcessActiveAAS = aas_engine
| where ['time'] > ago(10h)
and EventClass == 'COMMAND_BEGIN' 
and TextData contains "RefreshType"
and ConnectionID !in ( CompletedConnectionID )
| extend EndTime1 = case(isnull(EndTime), now(), EndTime )
| extend Status = case(isnull(EndTime), 'Inprogress', 'Completed' )
| extend durationInMinutes = datetime_diff('minute', EndTime1, StartTime)
| summarize by ServerName, StartTime,durationInMinutes,Status,ConnectionID

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文