如何从dotnet Web API应用程序触发OMS查询 [英] How to trigger oms queries from dotnet web api application

查看:65
本文介绍了如何从dotnet Web API应用程序触发OMS查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我通过dot net web api  app(REST)触发oms查询(日志分析),并返回结果并将结果显示给用户.

Can anybody help me in triggering the oms queries(log analytics) through dot net web api  app(REST) and getting back the result and displaying  the result to the user.

现有Azure门户中新推出的日志分析oms门户面临的困难.

Facing difficulties in newly launched log analytics oms portal in the existing azure portal.

Internet上所有可用的文档均基于旧的日志分析门户网站,请共享此主题上是否有新文档

all the documentation available on internet are based on the old log analytics portal, kindly share if new documents are available on this topic

推荐答案

我想提高对OMS的认识.

I want to raise awareness that OMS does not exist any more.

https://cloudadministrator.net/2018/10/10/it-is-time-to-erase-oms-acronym-from-your-dictionary/

https://cloudadministrator.net/2018/10/10/it-is-time-to-erase-oms-acronym-from-your-dictionary/

关于您的问题. OMS门户的弃用与通过API执行Log Analytics查询无关.唯一的更改发生在很久以前(年初),当时Log Analytics查询语言是 替换为更强大的一个.在此更改期间,还发布了用于执行Log Analytics查询的新API.该文档位于此处:

About your question. The deprecation of the OMS portal does not have anything to do with executing Log Analytics queries via API. The only change in that matter happened long time ago (at the beginning of the year) when the Log Analytics query language was replace with more powerful one. During that change also new API was release for executing Log Analytics queries. The document for that is located here:

https://dev.loganalytics.io/documentation/overview

https://dev.loganalytics.io/documentation/overview

您可以直接使用REST API或使用C#SDK.

You can either use the REST API directly or use the C# SDK.

如果已回答您的问题,请将其标记为答案.

Mark this reply as answer if it has addressed your question.


这篇关于如何从dotnet Web API应用程序触发OMS查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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