File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/azure/data_stream
identity_protection/elasticsearch/ingest_pipeline
signinlogs/elasticsearch/ingest_pipeline Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ processors:
225225 - set :
226226 field : user.email
227227 copy_from : azure.identityprotection.properties.user_principal_name
228- if : " ( ctx.azure?.identityprotection?.properties?.user_principal_name ?: ' ') =~ /^[^@]+@[^@]+$/ "
228+ if : ctx.azure?.identityprotection?.properties?.user_principal_name?.contains('@ ') == true
229229 - grok :
230230 field : azure.identityprotection.properties.user_principal_name
231231 patterns :
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ processors:
226226 - set :
227227 field : user.email
228228 copy_from : azure.signinlogs.properties.user_principal_name
229- if : " ( ctx.azure?.signinlogs?.properties?.user_principal_name ?: ' ') =~ /^[^@]+@[^@]+$/ "
229+ if : ctx.azure?.signinlogs?.properties?.user_principal_name?.contains('@ ') == true
230230 - grok :
231231 field : azure.signinlogs.properties.user_principal_name
232232 patterns :
You can’t perform that action at this time.
0 commit comments