Do I need all the tables and queries defined in my LAW ARM template?

Greg Brant 5 Reputation points
2024-01-25T12:52:12.0766667+00:00

I've exported a Log Analytics Workspace to an ARM template and it looks like it's exported all the default tables and queries. There's 499 instances of 'Microsoft.OperationalInsights/workspaces/tables' for example. Do I need all these cluttering up my ARM template, or will I get them for when I deploy a new LAW?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,510 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 26,781 Reputation points MVP
    2024-01-26T07:53:10.2533333+00:00

    Hi, Short answer is yes and no. It all depends on what you want to manage and what you do not want to manage. So, you have to decide which of those tables you want to manage. For example, pick a table and decide, do I need to manage the retention period of that table or not. Do I need to manage any custom fields/columns on that table or not? That will help you decide.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.