Technical Tip: How to Edit WinOSXmlParser to Parse the ‘Target User’ for Event ID 4729
| Description | This article describes how to modify the 'WinOSXmlParser' to parse the 'Target User' field for Event ID 4729. By default, the parser processes the 'Target User' for Event ID 4728 (which occurs when a member is added to a security-enabled global group) but does not handle Event ID 4729 (which logs when a member is removed from such a group). |
| Scope | FortiSIEM v7.2.2. |
| Solution | The parser 'WinOSXmlParser', located at ADMIN -> Device Support -> Parsers, processes logs containing Event ID 4728 as follows:
<when test="$winEventId IN '4746, 4751, 4761, 4728, 4732, 4756, 4785, 4787'">
To include Event ID 4729 (for member removal) in the 'Target User' field, follow these steps:
<when test="$winEventId IN '4746, 4751, 4761, 4728, 4729, 4732, 4756, 4785, 4787'">
This update will now parse the 'Target User' field for Event ID 4729, allowing to see removed members in the FortiSIEM logs. |
