【问题标题】:Can I repopulate Logs to Stackdriver?我可以将日志重新填充到 Stackdriver 吗?
【发布时间】:2021-01-15 23:26:49
【问题描述】:

您好,假设我有一个从 StackDriver 到 Google Cloud Storage 的接收器用于存档目的。 StackDriver 上的日志保留期结束后,我可以使用登陆 Google Cloud Storage 的日志再次填充 StackDriver 吗?

【问题讨论】:

    标签: logging google-cloud-platform google-cloud-storage stackdriver


    【解决方案1】:

    在 GCP 中,无法将旧日志从接收器目标(Pub/Sub、Cloud Storage 或 BigQuery)传输到 Cloud 日志记录。

    默认情况下,云日志记录的保留期为 30 天,但您现在可以创建介于 1 天到 3650 天之间的 custom retention。您可以关注此thread,了解有关 Cloud Logging 中自定义保留的更多信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多