作为客户需求的一部分,我被要求为不同的Azure工作负载设置中央日志存储库,包括存储帐户&数据库。我看到了默认的诊断设置,但所有这些设置都是禁用的。为了实现这些功能,我们需要启用某些日志/指标,这些日志/指标将进一步摄入工作空间。现在我想做一个经济高效的&最准确选择存储帐户的日志/指标。对这个领域有更深入的知识的人可以启发我吗?
类似地适用于后SQL&宇宙数据库也必须做出这样的决定。请帮助我。
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.
发布评论
评论(1)
请详细检查以下几点和参考。
选择:
您可以为要获取所有详细信息的操作选择日志。选择取决于要求。
并准确查看您要记录的内容。捕获日志
重要的
用于您的监视目的。最便宜的区域
以创建和存储您的日志分析工作区。
谨慎选择
Azure承诺层
。导出所有数据,您可以
filter
它并仅发送相关日志上面的数据
可以大大降低您的Azure计费成本,并帮助您有效地使用Azure Monitor节省资金。 以及日志分析定价和成本优化 (azurelib.com)
存储:
log数据可以随着时间的推移在帐户中积累,这可以增加存储成本。
小时时间
的日志数据,则可以减少通过将
日志数据保留期修改为更少的天数来修改成本。
生命周期策略
在访问层之间移动数据。额外的费用(免费)至前31天。
看
设计注意事项 ,如果
不需要更多。请参阅 监视Azure Blob存储
|微软文档。
日志。您可以使用存储见解来检查交易量
并使用您所有帐户的能力。这些信息可以帮助
您决定您可能要退休的帐户。
分析:
存储帐户,然后在顶部使用无服务器查询解决方案
log data.see 斑点存储监视/优化不经常的成本
查询
与您相比,它可以节省高达30%
付费价格。
可以通过移动到另一层
参考来减少您的费用:
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.
and see exactly what you are logging. Capture logs which are
important
for your monitoring purpose.cheapest region
to create and store your log analyticsworkspace.
prudent to opt for
azure commitment tier
.exporting all the data, you can
filter
it and send only relevant logdata
Above 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 reduceyour costs by modifying the
log data retention period
to less days.lifecycle policy
to move data between access tiers.additional charge(free) up to the first 31 days.
See
Design considerations and change the data retention if
not needed more than that. See Monitoring Azure Blob Storage
| Microsoft Docs.
logs. You can use Storage Insights to examine the transaction volume
and used capacity of all your accounts. That information can help
you decide which accounts you might want to retire.
Analyze:
storage account, and then using a serverless query solution on top
of log data.See blob storage monitoring/optimize cost for infrequent
queries
which can save you as much as 30 percent compared to the
Pay-As-You-Go price.
can reduce your charges by moving to another tier
References:
| Thomas Stringer (trstringer.com)