What to do when datetime does not match in apache log standard format?
Log format that is parsed:
::ffff:192.168.252.57 - - [05/Apr/2018:05:35:27 +0545] "GET /admin/styles/vendor-dddc8eebb5.css HTTP/1.1" 304 - "http://192.168.0.3:3000/admin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
::ffff:192.168.252.113 - - [Tue May 15 2018 00:07:06 GMT+0545 (NPT)] "GET /custprofile/9814470787 HTTP/1.1" 200 413 "http://10.70.12.115:3000/admin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36"
log that is not parsed:
::ffff:192.168.252.113 - - [Tue May 15 2018 00:07:06 GMT+0545 (NPT)] "GET /custprofile/9814470787 HTTP/1.1" 200 413 "http://10.70.12.115:3000/admin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36"
The issue is with datetime. How to resolve the datetime.
::ffff:192.168.252.57 - - [05/Apr/2018:05:35:27 +0545] "GET /admin/styles/vendor-dddc8eebb5.css HTTP/1.1" 304 - "http://192.168.0.3:3000/admin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
::ffff:192.168.252.113 - - [Tue May 15 2018 00:07:06 GMT+0545 (NPT)] "GET /custprofile/9814470787 HTTP/1.1" 200 413 "http://10.70.12.115:3000/admin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36"
log that is not parsed:
::ffff:192.168.252.113 - - [Tue May 15 2018 00:07:06 GMT+0545 (NPT)] "GET /custprofile/9814470787 HTTP/1.1" 200 413 "http://10.70.12.115:3000/admin/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36"
The issue is with datetime. How to resolve the datetime.