Hi rossparfect,
give this a try:
(index="sample_log" sourcetype="STAR:OUT:ALL") OR (index="sample_log" sourcetype="STAR:OUT:ACK" )
| rex field=source "ACK _(?<REF>\w+)_"
| eval REF=case(isnotnull(Trans_Name), Trans_Name, isnotnull(REF), REF, 1=1, "unknown")
| lookup REF APPL-FILENAME as Stream_Name
| rex field=source "_(?<STP_Process_Time>\d{14})."
| eval results = if(match(REF, "\w{10}\d{6}\w+"), "Success", "Failed")
| table results
If this still does not work, start removing | SPL from the back until you get the expected results.
Otherwise provide some sanitised sample events and the expect result and it will be easier to help.
Hope this helps ...
cheers, MuS
... View more