Hi @Scion
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
I understand that you want to set the data retention in the Log Analytics Workspace.
Configure the default interactive retention period of Analytics tables
- From the Log Analytics workspaces menu in the Azure portal, select your workspace.
- Select Usage and estimated costs in the left pane.
- Select Data Retention at the top of the page.
- Move the slider to increase or decrease the number of days, and then select OK.
Configure table-level retention
- From the Log Analytics workspaces menu, select Tables. The Tables screen lists all the tables in the workspace.
- Select the context menu for the table you want to configure and select Manage table.
- Configure the interactive retention and total retention settings in the Data retention settings section of the table configuration screen.
Refer this link:
Manage data retention in a Log Analytics workspace - Azure Monitor | Microsoft Learn
If above is unclear and/or you are unsure about something add a comment below.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.
Regards,
Rohith