Hi @abhijittikekar,
I too am struggling with the field extraction regex for Change Auditor events. I can't tell if you made any more progress on this since March 2019, so i just want to add what I have to the knowledge base.
I was able to extract some fields, but only if the field value is a single word string with no spaces. I also have a different regex for the Message line because I did not have any luck getting my regex to work using \n . So below are the 4 fields that I managed to get working. The only catch is these regex still fails if the values for Attribute Name, Object Class or Client Computer contains a space....
In addition, the regex I used for Message is only applicable if Client Computer comes directly after it in the next line. This is true for almost all Change Auditor logs except for those rare ones where it's just a Message. Those I don't care for as they're more system level errors that's not applicable to what I'm using Change Auditor logs for.
FYI, I thought using \s\s help finding the \n and \t that comes between each fields/lines; figuring that carriage return and tab are technically a "space" character. However, this seem to just work to pull values that does not contain a space. 😞
[source::WinEventLog:InTrust for AD]
EXTRACT-signature = Message\=(?<signature>.+)\s+Client Computer :
EXTRACT-attribute_name = Attribute Name : (?<attribute_name>[^(\s\s)]+)
EXTRACT-object_class = Object Class : (?<object_class>[^(\s\s)]+)
EXTRACT-src = Client Computer : (?<src>[^(\s\s)]+)
Hope this is helpful to anyone else trying to do custom field extracts for Change Auditor logs.
Best,
Will
... View more