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

查看:111
本文介绍了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天全站免登陆