As part of a client requirement, I've been asked to set up central log repository for different Azure workloads including Storage accounts & databases. I see a default diagnostic setting in place but all of those are disabled. To enable these, we need to enable certain logs/metrics which will further be ingested into the workspace. Now I want to make a cost-effective & most accurate selection of the logs/metrics for storage accounts. Can someone with more profound knowledge into this domain enlighten me about it?
Similarly for Postgre SQL & Cosmos DB databases too, I have to make such decision. Please help me with this.
Please check the below points and references in detail.
Selection:
You can select the logs for the operations that you want to Get all the details you wish for.selection depends on the requirement.
important
for your monitoring purpose.cheapest region
to create and store your log analytics
workspace.azure commitment tier
.filter
it and send only relevant log
dataAbove things can significantly reduce your azure billing cost and help you to save money in using azure monitor effectively. Understand Azure Monitor and Log Analytics Pricing and Cost Optimization (azurelib.com)
Storing:
Log data can accumulate in your account over time which can increase the cost of storage.
small period
of time, you can reduce
your costs by modifying the log data retention period
to less days.lifecycle policy
to move data between access tiers.See Design considerations and change the data retention if not needed more than that. See Monitoring Azure Blob Storage | Microsoft Docs.
Analyze:
References: