Skip to content

Commit bd182b2

Browse files
authored
Fix regex in the mask sample
1 parent fa7ddaa commit bd182b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/app/java-standalone-telemetry-processors-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ Let's assume the input log message body is `User account with userId 123456xx fa
534534
"body": {
535535
"toAttributes": {
536536
"rules": [
537-
"^User account with userId (?<redactedUserId>\\d+) .*"
537+
"^User account with userId (?<redactedUserId>\\d+.*)[\\w\\s]+$"
538538
]
539539
}
540540
}

0 commit comments

Comments
 (0)