Skip to content

AWS CloudWatch Logs - create infrequent access type with create_missing_group #22008

@hawkesn

Description

@hawkesn

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

When creating AWS CloudWatch log groups, there are two types: standard and infrequent access (see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html).

By default, the create_missing_group will select the standard type. There are no options to select which type of log group to create.

Attempted Solutions

Workaround

We can create the log group manually through the AWS CLI or interface and then disable create_missing_group. We point vector to the pre-created log group and it would work.

This works if you have a low number of log groups, but if you have hundreds or if the log groups are dynamically generated, this is not feasible.

Proposal

Have an option to select the type of log group via the create_missing_group

References

No response

Version

0.42.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueAnything that is good for new contributors.sink: aws_cloudwatch_logsAnything `aws_cloudwatch_logs` sink related
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions