【问题标题】:Serverless Dashboard: Set API Gateway Log Retention无服务器仪表板:设置 API 网关日志保留
【发布时间】:2019-11-06 15:28:14
【问题描述】:

我正在使用无服务器仪表板来监控我的 API Gateway 和 Lambda。我正在尝试以编程方式编辑 API Gateway 日志组的日志保留天数。但是,无服务器(可能)不支持 API 网关上的保留天数。有什么办法可以自动化吗?提前谢谢你。

已经问过 Serverless 论坛:https://forum.serverless.com/t/api-gateway-log-retention/9778

【问题讨论】:

    标签: amazon-web-services aws-api-gateway serverless-framework serverless aws-serverless


    【解决方案1】:

    到目前为止,无服务器不支持 API 网关的日志保留。但是,也有可以用于相同的外部插件/解决方法。

    以下链接:-

    https://github.com/serverless/serverless/issues/1918

    https://github.com/serverless-heaven/serverless-aws-alias/issues/57

    【讨论】:

      猜你喜欢
      • 2021-01-03
      • 2021-12-30
      • 2017-03-08
      • 1970-01-01
      • 2018-05-25
      • 1970-01-01
      • 2019-07-21
      • 2021-04-13
      • 1970-01-01
      相关资源
      最近更新 更多