cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Grail and timestamp support for milliseconds

GregOReilly
Helper

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?

4 REPLIES 4

marcin_okraszew
Dynatrace Helper
Dynatrace Helper

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.

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

Philipp_Kastner_0-1687342547660.png

Kind regards, Philipp

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.

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

Featured Posts