Skip to content

Commit 39dc093

Browse files
authored
Update regex
1 parent bd182b2 commit 39dc093

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+.*)[\\w\\s]+$"
537+
"^User account with userId (?<redactedUserId>[\\da-zA-Z]+)[\\w\\s]+"
538538
]
539539
}
540540
}

0 commit comments

Comments
 (0)