AWS AmazonCloudWatch documentation change
Summary
Updated examples and fixed syntax in pattern matching documentation
Security assessment
Changes are related to improving documentation examples and fixing syntax errors, with no security implications
Diff
diff --git a/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.md index 9f7b13f9d..e2833fc88 100644 --- a/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.md +++ b/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation-Processors.md @@ -246 +246 @@ NONNEGINT | Input: `008` Pattern: `%{NONNEGINT:num}` Output: `{"num": "008"}` | -WORD | Input: `abc def` Pattern: `%{WORD:user}` Output: `{"user": "user_123"}` | Matches whole words composed of one or more word characters (\w), including letters, digits, and underscores. +WORD | Input: `user_123` Pattern: `%{WORD:user}` Output: `{"user": "user_123"}` | Matches whole words composed of one or more word characters (\w), including letters, digits, and underscores. @@ -251 +251 @@ GREEDYDATA | Input: `abc def` Pattern: `%{GREEDYDATA:data}` Output: `{"data": " -QUOTEDSTRING | Input: `"Hello, world!` Pattern: `%{QUOTEDSTRING:msg}` Output: `{"msg": "Hello, world!"}` | Matches quoted strings (single or double quotes) with escaped characters. +QUOTEDSTRING | Input: `"Hello, world!"` Pattern: `%{QUOTEDSTRING:msg}` Output: `{"msg": "Hello, world!"}` | Matches quoted strings (single or double quotes) with escaped characters. @@ -289 +289 @@ URIPATHPARAM | Input: `/category/sub-category/product?id=12345&color=red` Patte -URI | Input: `https://user:[email protected]/path/to/resource?param1=value1¶m2=value2` Pattern: `%{URI:uri` Output: `{"path":"https://user:[email protected]/path/to/resource?param1=value1¶m2=value2"}` | Matches a complete URI. +URI | Input: `https://user:[email protected]/path/to/resource?param1=value1¶m2=value2` Pattern: `%{URI:uri}` Output: `{"path":"https://user:[email protected]/path/to/resource?param1=value1¶m2=value2"}` | Matches a complete URI.