20 Jun 2023 11:05 AM - last edited on 20 Jun 2023 11:08 AM by MaciejNeumann
Before moving our existing environments to Grail, I'd like to know if there is support the timestamp with milliseconds. Todays Log Management is only going as far as second. Will Grail provide "miillisecond" timestamp support?
Solved! Go to Solution.
20 Jun 2023 04:08 PM
Both Log Monitoring Classic and Logs on Grail supports have ms resolution of timestamps. Though, in both cases, the ms are not displayed in UI.
21 Jun 2023 11:17 AM
It's possible to display the milliseconds in Notebooks by reformatting the timestamp.
See - formatTimestamp function
Example:
fetch logs
| fieldsAdd timestamp = formatTimestamp(timestamp, format:"yyyy-MM-dd HH:mm:ss.SSS")
| limit 10
Kind regards, Philipp
21 Jun 2023 12:44 PM
Thanks. We dont have Grail yet, but the example above is confirming my hopes. Notebooks only work with Grail correct? I just tried to use a notebook (selecting the new ui) and this did not work with old log management. No results are ever returned.
21 Jun 2023 03:41 PM
Correct, Notebooks only queries data from Grail.
See @HansLougas's response regarding one way to get started 🙂 Solved: Re: Moving to Grail: pulling out all Log Management data - Dynatrace Community