-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard-OMS to AMA Migration Reporting.json
1 lines (1 loc) · 15.3 KB
/
dashboard-OMS to AMA Migration Reporting.json
1
{"$schema":"https://dataexplorer.azure.com/static/d/schema/24/dashboard.json","id":"7c075703-b846-40a4-b06e-08b0a631c3df","eTag":"7c075703-b846-40a4-b06e-08b0a631c3df","schema_version":"24","title":"OMS to AMA Migration Reporting","autoRefresh":{"enabled":false},"tiles":[{"id":"596b4c2d-9791-40cf-8b49-434b0e548ac8","title":"OMS Linux Population Trend","query":"//Linux Population Trend\n\nunion (cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshotOld | where Date < datetime(2020-06-28)), cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot\n| summarize DailyCount = count() by Date\n| summarize MonthlyMax = max(DailyCount) by startofmonth(Date)\n| render timechart","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"line","pageId":"9db0948a-e66b-437f-a1a8-a5a0921776c9","layout":{"x":12,"y":0,"width":12,"height":9},"usedParamVariables":[],"visualOptions":{"hideTileTitle":false,"multipleYAxes":{"base":{"id":"-1","label":"","columns":[],"yAxisMaximumValue":null,"yAxisMinimumValue":null,"yAxisScale":"linear","horizontalLines":[]},"additional":[]},"hideLegend":false,"xColumnTitle":"","xColumn":{"type":"infer"},"yColumns":{"type":"infer"},"seriesColumns":{"type":"infer"},"xAxisScale":"linear","verticalLine":"","crossFilterDisabled":false,"drillthroughDisabled":false,"crossFilter":[],"drillthrough":[]}},{"id":"ff3dc625-a82d-4219-871a-3606dad1f516","title":"MMA Windows Population Trend","query":"//MMA Windows Population Trend\n\ncluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot\n| summarize DailyCount = count() by Date\n| summarize MonthlyMax = max(DailyCount) by startofmonth(Date)","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"line","pageId":"9db0948a-e66b-437f-a1a8-a5a0921776c9","layout":{"x":0,"y":0,"width":12,"height":9},"usedParamVariables":[],"visualOptions":{"hideTileTitle":false,"multipleYAxes":{"base":{"id":"-1","label":"","columns":[],"yAxisMaximumValue":null,"yAxisMinimumValue":null,"yAxisScale":"linear","horizontalLines":[]},"additional":[]},"hideLegend":false,"xColumnTitle":"","xColumn":{"type":"infer"},"yColumns":{"type":"infer"},"seriesColumns":{"type":"infer"},"xAxisScale":"linear","verticalLine":"","crossFilterDisabled":false,"drillthroughDisabled":false,"crossFilter":[],"drillthrough":[]}},{"id":"f83e742d-2daf-4271-b114-a54f4c2f28a9","title":"Top 50 customers of OMS/MMA based off agent count","query":"//Top customers OMS/MMA by AgentId Count\n\nlet WorkspaceOS = union\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n | extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\")\n | summarize\n HasWindows = countif(OSType == \"Windows\") > 0,\n HasLinux = countif(OSType == \"Linux\") > 0\n by WorkspaceId;\nlet topCustomerId =\nunion\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n| extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\")\n| join kind = leftouter WorkspaceOS on WorkspaceId\n| extend Id = tostring(split(ResourceId, \"/\")[2])\n| where Id != \"\"\n| summarize\n TotalAgentCount = dcount(AgentId),\n WinAgentCount = dcountif(AgentId, OSType == \"Windows\"),\n LnxAgentCount = dcountif(AgentId, OSType == \"Linux\") by Id\n| sort by TotalAgentCount desc\n| take 50;\ntopCustomerId\n| join kind = leftouter cluster('genevareference.westcentralus.kusto.windows.net').database('AzureGraph').\nCustomer_Subscription on Id\n| project Name, TotalAgentCount, WinAgentCount, LnxAgentCount, SubscriptionId = Id, Id = CloudCustomer\n| join kind = leftouter cluster('genevareference.westcentralus.kusto.windows.net').database('AzureGraph').\nCustomer_CloudCustomer on Id\n| project Name, SubscriptionId, TotalAgentCount, WinAgentCount, LnxAgentCount, IndustryName\n| sort by TotalAgentCount","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"table","pageId":"9db0948a-e66b-437f-a1a8-a5a0921776c9","layout":{"x":0,"y":9,"width":24,"height":13},"usedParamVariables":[],"visualOptions":{"hideTileTitle":false,"table__enableRenderLinks":true,"table__renderLinksForColumns":[],"colorRules":[],"colorRulesDisabled":true,"colorStyle":"light","crossFilterDisabled":false,"drillthroughDisabled":false,"crossFilter":[],"drillthrough":[{"pairs":[{"parameterId":"b238e449-6f87-4596-88f0-9cd34932503d","property":"SubscriptionId"}],"destinationPages":["4ae29b37-9b31-4b93-b304-bde00ac5ec41"],"disabled":false}]}},{"id":"cbdd36e4-b5d8-4387-9092-1eb982f05ec2","title":"Top 50 customers of AMA based off agent count ","query":"//AMA top customers\nunion\n cluster('genevaagent.kusto.windows.net').database('Telemetry').WinAMADailySnapshot,\n cluster('genevaagent.kusto.windows.net').database('Telemetry').LnxAMADailySnapshot\n| summarize\n TotalAgentCount = dcount(ResourceId), \n WinAgentCount = dcountif(ResourceId, OsType == \"windows\"),\n LnxAgentCount = dcountif(ResourceId, OsType == \"linux\")\n by SubscriptionId\n| take 50\n| extend Id = SubscriptionId\n| join kind = leftouter cluster('genevareference.westcentralus.kusto.windows.net').database('AzureGraph').\nCustomer_Subscription on Id\n| project Name, TotalAgentCount, WinAgentCount, LnxAgentCount, SubscriptionId = Id, Id = CloudCustomer\n| join kind = leftouter cluster('genevareference.westcentralus.kusto.windows.net').database('AzureGraph').\nCustomer_CloudCustomer on Id\n| project Name, SubscriptionId, TotalAgentCount, WinAgentCount, LnxAgentCount, IndustryName\n| sort by TotalAgentCount\n","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"table","pageId":"9db0948a-e66b-437f-a1a8-a5a0921776c9","layout":{"x":0,"y":22,"width":24,"height":13},"usedParamVariables":[],"visualOptions":{"hideTileTitle":false,"table__enableRenderLinks":true,"table__renderLinksForColumns":[],"colorRules":[],"colorRulesDisabled":true,"colorStyle":"light","crossFilterDisabled":false,"drillthroughDisabled":false,"crossFilter":[],"drillthrough":[{"pairs":[{"parameterId":"b238e449-6f87-4596-88f0-9cd34932503d","property":"SubscriptionId"}],"destinationPages":["4ae29b37-9b31-4b93-b304-bde00ac5ec41"],"disabled":false}]}},{"id":"405214ff-5221-4e0e-a7ad-b14ceee98f48","title":"Agents deployed (AMA vs OMS/MMA) by customer","query":"//Top customers OMS by AgentId Count\n\nlet WorkspaceOS = union\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n | extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\")\n | summarize\n HasWindows = countif(OSType == \"Windows\") > 0,\n HasLinux = countif(OSType == \"Linux\") > 0\n by WorkspaceId;\nlet CustomerOMSAgents =\nunion\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n| extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\")\n| join kind = leftouter WorkspaceOS on WorkspaceId\n| extend SubscriptionId = tostring(split(ResourceId, \"/\")[2])\n| where isempty(['CustomerSelect']) or SubscriptionId == ['CustomerSelect'] // Freetext filtering\n| summarize total_MMA_Agents = dcount(AgentId) by SubscriptionId;\nlet CustomerAMAAgents = union\n cluster('genevaagent.kusto.windows.net').database('Telemetry').WinAMADailySnapshot,\n cluster('genevaagent.kusto.windows.net').database('Telemetry').LnxAMADailySnapshot\n| where isempty(['CustomerSelect']) or SubscriptionId == ['CustomerSelect'] // Freetext filtering\n| summarize\n Total_AMA_Count = dcount(ResourceId) by SubscriptionId;\nCustomerOMSAgents\n| join kind=fullouter CustomerAMAAgents on SubscriptionId\n| project-away SubscriptionId1","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"bar","pageId":"4ae29b37-9b31-4b93-b304-bde00ac5ec41","layout":{"x":0,"y":3,"width":22,"height":6},"usedParamVariables":["CustomerSelect"],"visualOptions":{"hideTileTitle":false,"multipleYAxes":{"base":{"id":"-1","label":"","columns":[],"yAxisMaximumValue":null,"yAxisMinimumValue":null,"yAxisScale":"linear","horizontalLines":[]},"additional":[]},"hideLegend":false,"xColumnTitle":"","xColumn":{"type":"infer"},"yColumns":{"type":"infer"},"seriesColumns":{"type":"infer"},"xAxisScale":"linear","verticalLine":"","crossFilterDisabled":false,"drillthroughDisabled":false,"crossFilter":[],"drillthrough":[]}},{"id":"26f524e2-6035-4a1d-a1b2-e4f9d258e7ce","title":"Solutions used on MMA by number of agents","query":"//Top customers OMS by AgentId Count\n\nlet WorkspaceOS = union\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n | extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\")\n | summarize\n HasWindows = countif(OSType == \"Windows\") > 0,\n HasLinux = countif(OSType == \"Linux\") > 0\n by WorkspaceId;\nlet CustomerOMSSolutions =\nunion\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n| extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\"), Solution = Solutions\n| join kind = leftouter WorkspaceOS on WorkspaceId\n| extend SubscriptionId = tostring(split(ResourceId, \"/\")[2])\n| where isempty(['CustomerSelect']) or SubscriptionId == ['CustomerSelect'] // Freetext filtering\n| mv-expand Solution to typeof(string)\n| where Solution != \"null\"\n| summarize AgentCount = dcount(AgentId) by Solution\n| where AgentCount > 0\n| sort by AgentCount desc;\nCustomerOMSSolutions","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"pie","pageId":"4ae29b37-9b31-4b93-b304-bde00ac5ec41","layout":{"x":0,"y":9,"width":22,"height":9},"usedParamVariables":["CustomerSelect"],"visualOptions":{"hideTileTitle":false,"hideLegend":false,"xColumn":{"type":"infer"},"yColumns":{"type":"infer"},"seriesColumns":{"type":"infer"},"crossFilterDisabled":false,"drillthroughDisabled":false,"labelDisabled":false,"pie__label":["name","value"],"tooltipDisabled":false,"pie__tooltip":["name","value"],"pie__orderBy":"size","pie__kind":"pie","crossFilter":[],"drillthrough":[{"pairs":[{"parameterId":"f65a8316-6f73-4b13-b49a-f2a5c292e2da","property":"Solution"}],"destinationPages":["47998917-fa2b-4214-82d1-9fd3afdf98f8"],"disabled":false}]}},{"id":"d2abbf84-2e42-43b5-86f3-b027727a6ff4","title":"OMS/MMA Customers using selected solution by agent count","query":"//Customers that use the solutions\nlet WorkspaceOS = union\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n | extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\")\n | summarize\n HasWindows = countif(OSType == \"Windows\") > 0,\n HasLinux = countif(OSType == \"Linux\") > 0\n by WorkspaceId;\nlet SolutionOMSCustomers =\nunion\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').LinuxDailySnapshot),\n Latest(cluster('genevaagent.kusto.windows.net').database('Telemetry').WindowsDailySnapshot)\n| extend OSType = iff(isnotempty(OSDistro), \"Linux\", \"Windows\")\n| join kind = leftouter WorkspaceOS on WorkspaceId\n| extend Id = tostring(split(ResourceId, \"/\")[2])\n| where isempty(['SolutionSelect']) or Solutions has ['SolutionSelect'] // Freetext filtering\n| where Id != \"\"\n| summarize TotalAgentCount = dcount(AgentId) by Id\n| where TotalAgentCount > 0\n| sort by TotalAgentCount desc;\nSolutionOMSCustomers\n| join kind = leftouter cluster('genevareference.westcentralus.kusto.windows.net').database('AzureGraph').\nCustomer_Subscription on Id\n| project Name, TotalAgentCount, SubscriptionId = Id, Id = CloudCustomer\n| join kind = leftouter cluster('genevareference.westcentralus.kusto.windows.net').database('AzureGraph').\nCustomer_CloudCustomer on Id\n| project Name, SubscriptionId, TotalAgentCount, IndustryName\n| sort by TotalAgentCount","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"table","pageId":"47998917-fa2b-4214-82d1-9fd3afdf98f8","layout":{"x":0,"y":3,"width":23,"height":12},"usedParamVariables":["SolutionSelect"],"visualOptions":{"hideTileTitle":false,"table__enableRenderLinks":true,"table__renderLinksForColumns":[],"colorRules":[],"colorRulesDisabled":true,"colorStyle":"light","crossFilterDisabled":false,"drillthroughDisabled":false,"crossFilter":[],"drillthrough":[{"pairs":[{"parameterId":"b238e449-6f87-4596-88f0-9cd34932503d","property":"SubscriptionId"}],"destinationPages":["4ae29b37-9b31-4b93-b304-bde00ac5ec41"],"disabled":false}]}},{"id":"762387af-2f86-4c73-920e-5dc186a34f8d","title":"Customer Name","query":"cluster('genevareference.westcentralus.kusto.windows.net').database('AzureGraph').\nCustomer_Subscription\n| where isempty(['CustomerSelect']) or Id == ['CustomerSelect']\n| project Name\n","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"card","pageId":"4ae29b37-9b31-4b93-b304-bde00ac5ec41","layout":{"x":5,"y":0,"width":11,"height":3},"usedParamVariables":["CustomerSelect"],"visualOptions":{"hideTileTitle":true,"multiStat__textSize":"auto","multiStat__valueColumn":{"type":"infer"},"colorRulesDisabled":true,"colorRules":[],"colorStyle":"light"}},{"id":"862bab5a-0e3d-4141-a077-535957014902","title":"Solution","query":"// Please enter your KQL query (Example):\n// <table name>\n// | where isempty(['CustomerSelect']) or <column name> == ['CustomerSelect'] // Freetext filtering\n// | where isempty(['SolutionSelect']) or <column name> == ['SolutionSelect'] // Freetext filtering\n// | take 100\nprint SolutionSelect","dataSourceId":"81c7dec3-36d3-46ff-96fc-9751a73cae68","visualType":"card","pageId":"47998917-fa2b-4214-82d1-9fd3afdf98f8","layout":{"x":6,"y":0,"width":11,"height":3},"usedParamVariables":["SolutionSelect"],"visualOptions":{"hideTileTitle":true,"multiStat__textSize":"auto","multiStat__valueColumn":{"type":"infer"},"colorRulesDisabled":false,"colorRules":[],"colorStyle":"light"}}],"parameters":[{"kind":"string","selectionType":"freetext","id":"b238e449-6f87-4596-88f0-9cd34932503d","displayName":"Customer(SubscriptionId)","variableName":"CustomerSelect","defaultValue":{"kind":"value","value":"None"},"showOnPages":{"kind":"selection","pageIds":["4ae29b37-9b31-4b93-b304-bde00ac5ec41"]}},{"kind":"string","selectionType":"freetext","id":"f65a8316-6f73-4b13-b49a-f2a5c292e2da","displayName":"Solution","variableName":"SolutionSelect","defaultValue":{"kind":"value","value":"None"},"showOnPages":{"kind":"selection","pageIds":["47998917-fa2b-4214-82d1-9fd3afdf98f8"]}}],"dataSources":[{"id":"81c7dec3-36d3-46ff-96fc-9751a73cae68","name":"geneva agent","clusterUri":"https://genevaagent.kusto.windows.net/","database":"AMA","kind":"manual-kusto","scopeId":"kusto"}],"pages":[{"name":"Pop Trend, Top Customers","id":"9db0948a-e66b-437f-a1a8-a5a0921776c9"},{"name":"Customer View","id":"4ae29b37-9b31-4b93-b304-bde00ac5ec41"},{"name":"Solution View","id":"47998917-fa2b-4214-82d1-9fd3afdf98f8"}]}