Problems converting epoch unix timestamps


Author
Message
TobZip
TobZip
New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)
Group: Forum Members
Posts: 2, Visits: 24
I have a log file file from caddy with json log entries like this:
{"level":"info","ts":1762473914.5372682,"logger":"http","msg":"enabling HTTP/3 listener","addr":":29250"}
{"level":"info","ts":1762473914.537774,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}

When using a json parser the only elapsed date pattern that let me finish the wizard is %d{ElapsedDateTimeDecimal}, which is not correct anyway and produces timestamps some thousand years in the future.

When checking the time stamp here https://www.epochconverter.com/ it is convertible to human readable form.

Is there a way to parse this in LogViewPlus? Can this be added otherwise? Also it would be nice to update the documentation for elapsed time patterns with example values and limitations if it is not possible.

Thanks!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Login

Explore
Messages
Mentions
Search