Hi all Pro,
I got a log file showing all the information, how am I take only email and the error out from the log?Example log an expected result:
Example 1)2583,Nikolaus.Hagleitner@abc.com,nikolaus.hagleitner,AM,100,GB,USMMRWN1497175,61465803270,2015-01-16 20:11:43,Finished backup with errors: Internal error.
$email= Nikolaus.Hagleitner@abc.com
$error= Finished backup with error: Internal error
Example 2)571,Caroline.Delarue@abc.com,caroline.delarue,EMEA,100,GB,FRROIWNT1900723,40805304921,2015-01-09 10:27:12,Quota limit reached
$email= Caroline.Delarue@abc.com
error= Quota limit reached
* email address is always come after the first "," and error will always come after the last ","