Forum Discussion
kimmytliu
Oct 20, 2024Copper Contributor
Azure Monitor agent sends logs to two LA workspaces in different accounts
Our company has many different Azure accounts and subscriptions.
Can we install AMA on one server to support sending logs to LA workspaces under different accounts?
For example, logs are sent to East Asia and China (East Asia and China are physically isolated)
1 Reply
Yes you can:
- Data Collection Rules (DCRs): You'll need to create separate Data Collection Rules for each Log Analytics workspace. Each DCR specifies what data to collect and where to send it.
- Azure Lighthouse: To send data across tenants (different Azure accounts), you must enable Azure Lighthouse. This allows you to manage resources across multiple Azure accounts.
- Network Configuration: Ensure that the server can communicate with the different Azure regions (East Asia and China in your case). This might involve configuring network settings or using VPNs/ExpressRoute to connect to isolated regions.
- Automation: You can use Azure Policy to automatically install AMA on the server and associate it with the required DCRs. This ensures consistency and simplifies management.