Skip to content

Commit e291f99

Browse files
Merge pull request #259827 from heyams/heya/fix-sample-regex
Fix regex in the mask sample
2 parents 45c721d + 39dc093 commit e291f99

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>[\\da-zA-Z]+)[\\w\\s]+"
538538
]
539539
}
540540
}

0 commit comments

Comments
 (0)