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 - Last Year
LogViewPlus Support - Last Year
             I just tried it, and it failed:
danielf82 - Last Year
LogViewPlus Support - Last Year
LogViewPlus Support - Last Year
                         Here is a sample log entry I could not parse: [1712130695.122167]...
danielf82 - Last Year
                             It seems to parse OK using the pattern above: I think there...
LogViewPlus Support - Last Year
danielf82 - Last Year
LogViewPlus Support - Last Year
danielf82 - Last Year
LogViewPlus Support - Last Year
                         Hi Toby, thanks for the quick turnaround time on this issue. I tried...
danielf82 - Last Year
                             Glad to hear it Daniel - thanks for letting me know! Toby
LogViewPlus Support - Last Year

Similar Topics

Login

Explore
Messages
Mentions
Search