Most log lines contain a timestamp and event description:
[When] [What]
e.g.:
[23/Jul/20
The unix date command has such an option. Use
date -Iseconds
or
date -Ins
The manpage says:
-I[FMT], --iso-8601[=FMT]
output date/time in ISO 8601 format. FMT='date' for date only (the default),
'hours', 'minutes', 'seconds', or 'ns' for date and time to the indicated preci‐
sion. Example: 2006-08-14T02:34:56-0600