DQL
Questions about Dynatrace Query Language
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DQL - the last backup value from sqlserver

henk_stobbe
DynaMight Leader
DynaMight Leader

Hello,

I want to use the last backup value from sqlserver to create a dashboard showing the last backup time and date.

Problem the value returned is in minutes passed....

Who known or has already a way to converted this in a timestamp?

KR Henk 

2 REPLIES 2

krzysztof_hoja
Dynatrace Champion
Dynatrace Champion

I hope this example helps:

data record(min = 120)
| fieldsAdd now(), when = now() - duration(min, "m")

krzysztof_hoja_0-1770723162204.png

 

henk_stobbe
DynaMight Leader
DynaMight Leader

Hi Krzysztof,

Works perfect, 

Thanks for your swift response!

Featured Posts