Thank you for reaching out to the Microsoft Q&A platform.
Yes, it is possible to send only specific resource group logs to a particular Log Analytics workspace in Azure. You can achieve this by creating a diagnostic setting for each resource group and specifying the Log Analytics workspace as the destination for the logs.
Here are the steps to create a diagnostic setting for a resource group:
In the Azure portal, navigate to the resource group for which you want to create a diagnostic setting.
Click on "Diagnostic settings" under the "Monitoring" section.
- Click on "Add diagnostic setting" to create a new diagnostic setting.
- Give a name to the diagnostic setting and select the logs that you want to collect. You can select specific logs such as Activity Logs, Metrics, or Windows Event Logs.
- Under the "Destination details" section, select "Log Analytics" as the destination and choose the Log Analytics workspace that you want to send the logs to.
- Click on "Save" to create the diagnostic setting.
- Repeat the above steps for each resource group that you want to send logs to a specific Log Analytics workspace.
By creating a diagnostic setting for each resource group, you can ensure that only the logs from that resource group are sent to the specified Log Analytics workspace.
I hope this helps you resolve the issue you are facing with Azure activity logs. Let me know if you have any other questions or need further assistance.
Please click "Accept as answer" if this helps.