If i enable diagnostic setting for vm in azure and send it to storage account.
I can't able to specify retention period.
Should we manually delete the older logs.
If i enable diagnostic setting for vm in azure and send it to storage account.
I can't able to specify retention period.
Should we manually delete the older logs.
Copyright © 2021 Jogjafile Inc.
Yes, if you send the logs to storage account, there is no way to configure the retention day. You need to delete it manually.
But there is a feature azure storage lifecycle management, you can use this feature to define a
delete policy
. For example, define adelete policy
for a specific blob/container which can be deleted after x days.