NetXMS Support Forum

English Support => Feature Requests => Topic started by: hugo_dknl on November 02, 2021, 12:13:27 AM

Title: Windows event parser on server - naming capturing group
Post by: hugo_dknl on November 02, 2021, 12:13:27 AM
I use the "windows event parser" on the server side and then activate the event, where it is possible to use in the body of the message, for example, the parameters% 1,% a,% s and the like.
It is possible to name a capturing group, for example (? P <name> xxx), within the regular expression in the "windows event parser" and then refer to this group in the body of the message.

Unfortunately, I did not succeed in various attempts ☹

thank you very much
Title: Re: Windows event parser on server - naming capturing group
Post by: Victor Kirhenshtein on November 30, 2021, 05:32:49 PM
Currently named capture groups are not supported. Looks like a good idea though, I'll check if we could do that.

Best regards,
Victor