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

Dynatrace Timestamp vs Log Timestamp, why so different?

GerryIsHere
Participant

I think this might be Grail question, but anyway,

see image below, why are the last timestamps so different?

 whytimestamp.png

1 REPLY 1

PacoPorro
Dynatrace Champion
Dynatrace Champion

You will need to configure your own timestamp format : https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring/log-monitoring-configuration/time...

Be aware that the supported timestamp formats include:

  • ISO 8601 format: %Y-%m-%d %H:%M:%S
    Example: 2022-04-17 11:25:12.345

  • RFC 3339 format: %Y-%m-%dT%H:%M:%S
    Example: 2022-04-17T11:25:12.345

  • Unix Epoch format, providing the number of milliseconds that have elapsed since January 1, 1970 Example: 1652088888997

  • RFC 3164 format: %b %d %H:%M:%S
    Example: Apr 17 11:25:12

  • Db2 (IBM database 2) format: %Y-%m-%d-%H.%M.%S
    Example: 2022-05-17-11.25.12.114000-300

  • IIS format: %m/%d/%Y, %H:%M:%S
    Example: 04/17/2022, 11:25:12.345

  • W3C (World Wide Web Consortium) format: %Y-%m-%d %H:%M:%S
    Example: 2022-04-17 11:25:12.345 specified in the UTC timezone

  • Klog and Golang/glog format: [IWEF]%m%d %H:%M:%S Example: I0408 06:40:02.634162

  • Other common formats:

    • %d %b %Y %H:%M:%S (example: 17 Apr 2022 11:25:12.345)
    • %Y %b %d %H:%M:%S (example: 2022 Apr 17 11:25:12.345)
    • %d/%b/%Y:%H:%M:%S (example: 17/Apr/2022:11:25:12.345)

Featured Posts