Stackdriver GCP 中的日志保留 [英] Log retention in Stackdriver GCP

查看:26
本文介绍了Stackdriver GCP 中的日志保留的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 GCP 堆栈驱动程序中启用日志保留.我还没有找到任何配置日志保留的文档.我可以在日志记录部分和日志摄取中看到导出选项.

How can I get log retention enabled in GCP Stack-driver. I haven't found any document for configuring log retention. I can see export option in logging section and log ingestion.

推荐答案

现在,有可能, 请参阅下面的帖子(已编辑)

上一个答案:

日志保留时间为 30 天,不可配置,您只需为存储付费

Logging retention is 30 days and it is not configurable, you only pay for the storage

Stackdriver Logging 允许您将日志保留 30 天,并且为您提供一键式配置工具,可将数据存档更长时间期间在 Google Cloud Storage 中.

Stackdriver Logging allows you to retain the logs for 30 days, and gives you a one-click configuration tool to archive data for a longer period in Google Cloud Storage.

https://cloud.google.com/logging/

但您可以为日志创建接收器并将它们存储在 Big Query 或 Google Cloud Storage(或两者)中

But you can create a sink for you logs and store them in Big Query or Google Cloud Storage (or both of them)

这篇关于Stackdriver GCP 中的日志保留的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆