作为诊断设置启用Azure存储帐户的一部分,应启用所有日志/指标

发布于 2025-01-21 05:27:16 字数 380 浏览 1 评论 0 原文

作为客户需求的一部分,我被要求为不同的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?

enter image description here
Similarly for Postgre SQL & Cosmos DB databases too, I have to make such decision. Please help me with this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

人海汹涌 2025-01-28 05:27:16

请详细检查以下几点和参考。

选择:

您可以为要获取所有详细信息的操作选择日志。选择取决于要求。

  1. 一个好习惯是通过您的代理商进行监视
    并准确查看您要记录的内容。捕获日志
    重要的用于您的监视目的。
  2. 选择最便宜的区域以创建和存储您的日志分析
    工作区。
  3. 如果您的日志摄入量很高,那将是
    谨慎选择 Azure承诺层
  4. 如果您需要导出日志分析数据,而不是
    导出所有数据,您可以 filter 它并仅发送相关日志
    上面的数据

可以大大降低您的Azure计费成本,并帮助您有效地使用Azure Monitor节省资金。 以及日志分析定价和成本优化 (azurelib.com)


存储:

log数据可以随着时间的推移在帐户中积累,这可以增加存储成本。

  1. 如果仅需要小时时间的日志数据,则可以减少
    通过将日志数据保留期修改为更少的天数来修改成本。
  2. 使用生命周期策略在访问层之间移动数据。
  3. 摄入对数分析工作空间的数据可以保留在
    额外的费用
    (免费)至前31天


设计注意事项 ,如果
不需要更多。请参阅 监视Azure Blob存储
|微软文档

  1. 存储见解是Azure存储指标顶部的仪表板,
    日志。您可以使用存储见解来检查交易量
    并使用您所有帐户的能力。这些信息可以帮助
    您决定您可能要退休的帐户。

分析:

  1. 分析使用的容量并监视容器的使用。
  2. 您可以考虑通过将日志导出到
    存储帐户,然后在顶部使用无服务器查询解决方案
    log data.see 斑点存储监视/优化不经常的成本
    查询
  3. 将数据组织到access tiers.log Analytics中 承诺层
    与您相比,它可以节省高达30%
    付费价格。
  4. 您应该定期查看此信息,以确定您是否
    可以通过移动到另一层

参考来减少您的费用:

  1. 计划并管理Azure Blob存储的成本| Microsoft Docs
  2. Azure Monitor日志定价详细信息-Azure Monitor | Microsoft docs

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.

  1. A good practice is to go through your agents and monitoring settings
    and see exactly what you are logging. Capture logs which are
    important for your monitoring purpose.
  2. Choose the cheapest region to create and store your log analytics
    workspace.
  3. If you have very high volume of the log ingestion then it would be
    prudent to opt for azure commitment tier.
  4. In case you need to export the log analytics data, rather than
    exporting all the data, you can filter it and send only relevant log
    data

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.

  1. If you need log data for only a small period of time, you can reduce
    your costs by modifying the log data retention period to less days.
  2. Use lifecycle policy to move data between access tiers.
  3. Data ingested into Log Analytics workspace can be retained at no
    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
.

  1. Storage Insights is a dashboard on top of Azure Storage metrics and
    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:

  1. Analyze the used capacity and monitor the use of the container.
  2. you can consider reducing the total cost by exporting logs to
    storage account, and then using a serverless query solution on top
    of log data.See blob storage monitoring/optimize cost for infrequent
    queries
  3. Organize data into access tiers.Log Analytics has Commitment Tiers,
    which can save you as much as 30 percent compared to the
    Pay-As-You-Go price.
  4. You should periodically review this information to determine if you
    can reduce your charges by moving to another tier

References:

  1. Plan and manage costs for Azure Blob Storage | Microsoft Docs
  2. Azure Monitor Logs pricing details - Azure Monitor | Microsoft Docs
  3. Azure Monitor Log Analytics too Expensive? Part 2 - Save Some Money
    | Thomas Stringer (trstringer.com)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文