aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

aws-logs: EmitSystemFieldDimensions misisng from MetricFilter and CfnMetricFilter

Open microblag opened this issue 1 year ago • 3 comments

Describe the bug

The EmitSystemFieldDimensions field is missing from MetricFilter and also from CfnMetricFilter.

Regression Issue

  • [ ] Select this option if this issue appears to be a regression.

Last Known Working CDK Library Version

No response

Expected Behavior

Field should be present at least in CfnMetricFilter

Current Behavior

Field is not present

Reproduction Steps

Field does not appear in as search of the codebase

Possible Solution

No response

Additional Information/Context

No response

AWS CDK Library version (aws-cdk-lib)

2.219.0

AWS CDK CLI version

2.1030.0

Node.js Version

22.19.0

OS

LInux

Language

TypeScript

Language Version

Typescript (5.9.2)

Other information

No response

microblag avatar Oct 15 '25 06:10 microblag

Hi

It was just added into CFN spec and merged into upstream awscdk-service-spec 3 days ago https://github.com/cdklabs/awscdk-service-spec/pull/2091

I think it should be available in the next CDK release which will include that addition. It requires a few days before it gets included.

pahud avatar Oct 16 '25 18:10 pahud

Hi Paul,

We just stumbled across it when trying to setup some metrics. We did suspect it might be a new feature but we couldn't find a changelog for the cloudformation spec to confirm, closest thing we found was this https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/doc-history.html which didn't mention it.

Thanks! -James

microblag avatar Oct 17 '25 00:10 microblag

Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.

github-actions[bot] avatar Oct 17 '25 00:10 github-actions[bot]