如何获取"Runs Completed"(运行完成);多个逻辑应用程序的数量 [英] How to retrieve "Runs Completed" count of more than one Logic App

查看:66
本文介绍了如何获取"Runs Completed"(运行完成);多个逻辑应用程序的数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的体系结构中有一堆Azure Logic应用程序,并且希望计算出我的体系结构中所有Logic Apps中已完成的运行总数.到目前为止,我只能在图表上配置一个逻辑应用程序,但我想知道是否有办法在单个镜头中获得累计计数.

任何建议都将不胜感激.谢谢.

解决方案

对于此要求,我们可以使用Azure Log Analytics工作区.

  1. 我们需要首先创建一个Log Analytics工作区.请参阅此

  2. 在那之后,我们可以在Log Analytics工作区中看到正在运行的日志(包括已完成的运行总数).我们可以通过转到Log Analytics工作区并单击工作区摘要"来查看它们.

如果您已经创建了许多逻辑应用程序,并且不想再次创建它们,则可以按照以下步骤操作:

  1. 还创建"Log Analytics工作区"作为上面的第一个解决方案.

  2. 然后在其中安装Logic Apps Management解决方案.

  3. 然后,转到您的逻辑应用程序,然后 解决方案

For this requirement, we can use Azure Log Analytics workspace.

  1. We need to create a Log Analytics workspace first. Please refer to this tutorial to create it.

  2. Then enable "Log Analytics" when you create the logic app and choose the Log Analytics workspace which we created above.

  3. After that, we can see the running log(include the cumulative sum of total runs completed) in the Log Analytics workspace. We can see them by go to the Log Analytics workspace and click "Workspace summary".

If you have already created many logic apps and do not want to create them again, you can follow the steps below:

  1. Also create the "Log Analytics workspace" as the first solution above.

  2. Then install Logic Apps Management solution in it.

  3. After that, go to your logic app and set the logs to send to Log Analytics.

By the way, the logs in Log Analytics workspace will be a little bit of a delay, so please wait a moment for the logs.(In my test, I wait for more than 25 mins).

这篇关于如何获取"Runs Completed"(运行完成);多个逻辑应用程序的数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆