j256 / cloudwatch-logback-appender

Appender that publishes logback log entries to AWS CloudWatch
ISC License
56 stars 37 forks source link

should filter out invalid characters from log-stream names #34

Closed j256 closed 3 years ago

j256 commented 3 years ago

CloudWatch doesn't support log-streams with ':' in them maybe. What other characters are not allowed?

yemanasyan commented 3 years ago

@j256 this is the CloudWatch Stream validation regex: [^:]

This is the full message from AWS: 1 validation error detected: Value 'something123,.;[]'/1230-=:something else1456' at 'logStreamName' failed to satisfy constraint: Member must satisfy regular expression pattern: [^:*]*