Hello Sudhamayi Oruganti
Yes, you can customize the Activity Log export configuration per resource by using Azure Resource Manager tags. You can create tags for your resources and then use those tags to filter and export specific categories of Activity Logs.
Here's an example of how to configure the export of Activity Logs for a specific set of resources:
- Create a tag for your resources. For example, you can create a tag named "LogExport" with a value of "Security" for the resources that only require Security logs to be exported, and a value of "Administration" for the resources that require both Security and Administration logs to be exported.
- In the Azure portal, navigate to the Activity Log Export settings and create a new export configuration.
- In the filter section, select "By resource tag" and then select the tag you created in step1.
- In the category section, select the categories of logs you want to export. For example, if you created a tag with a value of "Security", you can select only the "Security" category of logs to be exported.
- Save the export configuration.
Repeat this process for each set of resources that requires a different export configuration. Keep in mind that this method will only export logs for the resources that have the specified tag, so make sure to tag all the resources that require a specific export configuration.
Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.