Used the followiing iam getting error.
for i in `awk '/Unknown exception/ {print gensub(/.*\(Unknown exception.\) \[(.+)\].*/, \\\1, \$0)) $1`
do
echo mv ${i} $2
done
awk should return the following from the log file:
/san/clients/rmv/lxa/job2214153/docs/pending/20120114/Dialog/DIA-0131753369.xml