timestamps in floating point format


Author
Message
danielf82
danielf82
Gaining Respect (153 reputation)Gaining Respect (153 reputation)Gaining Respect (153 reputation)Gaining Respect (153 reputation)Gaining Respect (153 reputation)Gaining Respect (153 reputation)Gaining Respect (153 reputation)Gaining Respect (153 reputation)Gaining Respect (153 reputation)
Group: Forum Members
Posts: 15, Visits: 30
Hi,
I tried and failed to parse the timestamps in log files where the format looks like this:

[1706782845.436764] [INFO ] [139899789445120] [Class.cpp@method:548] [Class] Running test class

The first part ([1706782845.436764]) represents a timestamp in seconds and fractions of seconds.
I was able to parse the seconds part and drop the rest, but failed to parse the full timestamp.

Best Regards,
Daniel

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
danielf82 - 2 Years Ago
LogViewPlus Support - 2 Years Ago
             I just tried it, and it failed:
danielf82 - 2 Years Ago
LogViewPlus Support - 2 Years Ago
LogViewPlus Support - 2 Years Ago
                         Here is a sample log entry I could not parse: [1712130695.122167]...
danielf82 - 2 Years Ago
                             It seems to parse OK using the pattern above: I think there...
LogViewPlus Support - 2 Years Ago
danielf82 - 2 Years Ago
LogViewPlus Support - 2 Years Ago
danielf82 - 2 Years Ago
LogViewPlus Support - 2 Years Ago
                         Hi Toby, thanks for the quick turnaround time on this issue. I tried...
danielf82 - 2 Years Ago
                             Glad to hear it Daniel - thanks for letting me know! Toby
LogViewPlus Support - 2 Years Ago

Similar Topics

Login

Explore
Messages
Mentions
Search