MmaAgent configures the Microsoft Monitoring Agent (MMA/OMS agent) and its workspace connections.
Use this resource when you need to configure the Microsoft Monitoring Agent on target nodes to connect to Log Analytics workspaces. The MMA agent collects monitoring data, logs, and performance counters from Windows machines and forwards them to Azure Monitor / Log Analytics for analysis and alerting.
Source |
|
DSC Resource |
|
Documentation |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
WorkspaceId |
Mandatory |
String |
Specifies the Workspace ID of the Log Analytics workspace to connect to. |
|
WorkspaceKey |
Mandatory |
PSCredential |
Specifies the primary key of the Log Analytics workspace as a credential. |
|
ProxyUri |
String |
Specifies the URI of a proxy server to use for the MMA agent connection. |
||
ProxyCredential |
PSCredential |
Specifies the credentials to authenticate with the proxy server. |
MmaAgent:
WorkspaceId: ABC
WorkspaceKey: '[ENC=PE9ianMgVmVy...=]'