-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
AWS CloudWatch Logs - create infrequent access type with create_missing_group
#22008
Comments
I'll try to work on this tomorrow if nobody has by then. Question about implementation for a vector dev (@jszwedko ?):
Of the three, I'm partial to the first option, but I don't want to introduce two breaking changes in a single 7-day period. |
I think the least intrusive way is option (3) and at the same time we can mark |
…eate Problem: Prior to this commit it was not possible to specify the log group's class type. The method prior always created a Standard type. ------------------------------------------------------------ Solution: Allow specifying the log group class type via a new field, `group_class` which takes over the `create_missing_group`. deprecation: `create_missing_group` Initial Issue Report: vectordotdev#22008 Closes vectordotdev#22008
…eate Problem: Prior to this commit it was not possible to specify the log group's class type. The method prior always created a Standard type. ------------------------------------------------------------ Solution: Allow specifying the log group class type via a new field, `group_class` which takes over the `create_missing_group`. deprecation: `create_missing_group` Initial Issue Report: vectordotdev#22008 Closes vectordotdev#22008
…eate Problem: Prior to this commit it was not possible to specify the log group's class type. The method prior always created a Standard type. ------------------------------------------------------------ Solution: Allow specifying the log group class type via a new field, `group_class` which takes over the `create_missing_group`. deprecation: `create_missing_group` Initial Issue Report: vectordotdev#22008 Closes vectordotdev#22008
…eate Problem: Prior to this commit it was not possible to specify the log group's class type. The method prior always created a Standard type. ------------------------------------------------------------ Solution: Allow specifying the log group class type via a new field, `group_class`. Initial Issue Report: vectordotdev#22008 Closes vectordotdev#22008
…eate Problem: Prior to this commit it was not possible to specify the log group's class type. The method prior always created a Standard type. ------------------------------------------------------------ Solution: Allow specifying the log group class type via a new field, `group_class`. Initial Issue Report: vectordotdev#22008 Closes vectordotdev#22008
…eate Problem: Prior to this commit it was not possible to specify the log group's class type. The method prior always created a Standard type. ------------------------------------------------------------ Solution: Allow specifying the log group class type via a new field, `group_class`. Initial Issue Report: vectordotdev#22008 Closes vectordotdev#22008
A note for the community
Use Cases
When creating AWS CloudWatch log groups, there are two types:
standard
andinfrequent
access (see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html).By default, the
create_missing_group
will select thestandard
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
The text was updated successfully, but these errors were encountered: