Hi guys,
I'm absolutely new to RegEx and I'm very fascinated how powerfull RegEx is.
I'm trying to get an integer value that is placed behind a specific string.
This string and the integer value may appear at several places in a logfile.
Here is an example of the file:
4/11/2013;4:22:00 PM;Server konnte nicht gestartet werden, falsche Server IP/Name
4/13/2013;2:26:31 PM;Server konnte nicht gestartet werden, falsche Server IP/Name
4/14/2013;2:01:01 AM;Backup Fehler: (db1)
4/14/2013;2:01:02 AM;
4/14/2013;2:01:03 AM;ErrorCode: 17
Server offline
Der Datenbankeserver reagiert nicht.
I've been playing around with PowerGREP and RegexMagic but I didn't create one single expression that is correct for Splunk ^^
All I want to create is a new field, with the ErrorCode integer to get an overview which errors occur how often.
Can someone help me with creating this expression?
Thank you in advance 🙂
... View more