You're looking for a regular expression to parse out each line into a variable fieldname according to the key?
First, to get the variable fieldname, you need a props.conf and transforms.conf entry like in this question: http://splunk-base.splunk.com/answers/23409/dynamically-extract-field-names-from-multiline-event
Second, the regular expression would look something like this (untested):
^([A-Z_]+)\s+(.*)
... View more