I'm failing miserably at this. I'm hoping someone can help me out so I can build my knowledge for future extractions
I'm getting the following record from an application, via syslog and need to perform field extractions:
Jan 30 08:50:14 8.8.8.8 Smith, Jim (
[email protected])|Run PowerShell script 'Add Record to DB' for 'Smith, Jim (Domain.local\Users )'|Success
Where:
Jan 30 08:50:14 (DateTime)
8.8.8.8 (src_ip)
Smith, Jim (src_user)
[email protected] (src_userupn)
Run PowerShell script 'Add Record to DB' for 'Smith, Jim (Canada.CompassGroup.Corp\Users - Compass)' (message)
Success (Result)
Result is optional and may not be in each record, depending on what the message is.
Any regex gurus out there that can help me out?
... View more