Forum Discussion

GouravIN's avatar
GouravIN
Brass Contributor
Oct 08, 2018

Alert on Backup Jobs

Hi Team,   I want to generate alert when backup job is running more than 3 hours. But not sure how to Create this but I am sure we can create this since when I are running below query. We have JobD...
  • Patrick Naughton's avatar
    Patrick Naughton
    Oct 10, 2018

    You can see by the name of the column that it is a string.  The "_s" suffix tells you this.

     

    to convert it to a double for comparison call the todouble function.

     

    AzureDiagnostics | where Category == 'AzureBackupReport' | where OperationName == 'Job'
    | where todouble(JobDurationInSecs_s) >= 33641.4

     

Resources