sed -n '/Aug 23 00:00:00 2017/,/Aug 23 23:59:59 2017/p' otrs.log | grep 'UK_OWMS_oracledb1_54.72.39.82' | grep 'Oracle Alertlog'
sed -n '/Aug 23 00:00:00 2017/,/Aug 23 23:59:59 2017/p' otrs.log | grep 'UK_OWMS_oracledb1_54.72.39.82' | grep 'Oracle Alertlog'