I have just enabled monitoring for one of my Azure blob storage accounts and want to know if it is cheaper to send the logs to an log analytics workspace or another storage account?
Also, where can I find the current cost incurred for the data logged in log analytics workspace?
You can use the below query in your log analytics workspace to get the current cost incurred for the data logged in a Log Analytics workspace.
Query:
Output:
Alternatively, you can refer to this MS-Document and see in the portal in the Azure log analytic workspace -> Usage and estimated costs.
You can use
pricing calculatorto compare the costs of sending logs to both Azure log analytics workspace and storage account.Reference: Estimate costs with the Azure pricing calculator - Microsoft Cost Management | Microsoft Learn