Hi Does anyone know a way to automate sending logs to a storage account, I can send the data to log analytics workspace, but also need to have a policy set that keeps logs for 200 days in a storage account?
Thanks in advance.
Hi Does anyone know a way to automate sending logs to a storage account, I can send the data to log analytics workspace, but also need to have a policy set that keeps logs for 200 days in a storage account?
Thanks in advance.
There isn't a built in way to export data from Log Analytics to a storage account, so if you want to do this you are going to need to run a script on regular basis to export the data. You could look at using an Azure Function or Azure Automation job to do this. There are a number of examples online about how to do this.
The two other options you have are: