如何找出哪个日志分析表由哪些资源/解决方案支持?

huangapple go评论51阅读模式
英文:

How can I find which Log analytics table is supported by which resource/solution?

问题

如何查找哪些日志分析表受到哪些资源/解决方案的支持?我需要处理日志表,并需要找出根据解决方案或资源需要支持哪些表。

我找不到任何关于这个的综合信息。如果我尝试检查一个表,我可以看到该特定表的支持解决方案或资源。

英文:

How can I find which Log analytics table is supported by which resource/solution? I need to work on log tables and need to find out which I need to support depending on solution or resources.

I am not finding any consolidated information on same. If I try to check a table the I can see supported solution or resources for that particular table.

答案1

得分: 1

你可以按照以下步骤在 Log Analytics 工作区中找到受支持的资源和解决方案:-

我同意 Jul_DW,据我所知,你可以在此微软文档中找到所有 Log Analytics 表的综合列表,因为没有其他文档列出日志的列表,请在左侧按标题筛选按类别查看:
Azure Monitor 表参考按资源类型 | Microsoft Learn

你还可以使用 Rest API 调用 Log Analytics 工作区,并列出 LA 工作区中的所有表以及其资源,如下所示:

GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables?api-version=2021-12-01-preview

输出:

如何找出哪个日志分析表由哪些资源/解决方案支持?

如何找出哪个日志分析表由哪些资源/解决方案支持?

通过筛选特定表列出数据源:

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/dataSources?$filter=kind='WindowsEvent'&api-version=2020-08-01

如何找出哪个日志分析表由哪些资源/解决方案支持?

参考文献:

表 - 按工作区列出 - REST API (Azure Log Analytics) | Microsoft Learn

数据源 - 按工作区列出 - REST API (Azure Log Analytics) | Microsoft Learn

英文:

You can find the Supported Resources and solutions in the Log Analytics workspace by following the below steps:-

I agree with Jul_DW AFAIK you can find the consolidated list of all the Log analytics tables in this MS document as there’s no other document with the list of logs and check the same for the category type in the left Filter by title:-
Azure Monitor table reference index by resource type | Microsoft Learn

You can also make use of Rest API to call the Log analytics workspace and List all the tables in the LA workspace with its resources like below:-

GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables?api-version=2021-12-01-preview

Output:-

如何找出哪个日志分析表由哪些资源/解决方案支持?

如何找出哪个日志分析表由哪些资源/解决方案支持?

List Data sources by filtering specific table:-

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/dataSources?$filter=kind='WindowsEvent'&api-version=2020-08-01

如何找出哪个日志分析表由哪些资源/解决方案支持?

References:-

Tables - List By Workspace - REST API (Azure Log Analytics) | Microsoft Learn

Data Sources - List By Workspace - REST API (Azure Log Analytics) | Microsoft Learn

huangapple
  • 本文由 发表于 2023年2月6日 21:22:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/75361863.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定