Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to change the retention settings for /aws/containerinsights/cluster-X/performance log groups #111

Open
rubber-ant opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rubber-ant
Copy link

rubber-ant commented Oct 8, 2024

version: v2.1.1-eksbuild.1
add-on for eks: amazon-cloudwatch-observability

Is it possible to change the retention setting for performance logs using the add-on's configuration values?

I was able to change the retention for application, dataplane, and host logs using log_retention_days,
for example - application logs:

containerLogs:
  fluentBit:
    config:
      extraFiles:
        application-log.conf:
          [OUTPUT]
            Name cloudwatch_logs
            Match   application.*
            region $${AWS_REGION}
            log_group_name /aws/containerinsights/$${CLUSTER_NAME}/application
            log_stream_prefix $${HOST_NAME}-
            auto_create_group true
            log_retention_days 90
            extra_user_agent container-insights
@rubber-ant rubber-ant changed the title How do you change the retention settings for /aws/containerinsights/cluster-X/performance log groups Is it possible to change the retention settings for /aws/containerinsights/cluster-X/performance log groups Oct 8, 2024
@mitali-salvi mitali-salvi added the enhancement New feature or request label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants