Parse logs and query by time | Oracle