Hi!
Need some help with translating some of this SQL to SWQL.
First of all this is the script that im trying to convert:
join cpumultiload on nodes.nodeid = cpumultiload.nodeid
where datediff(mi, cpumultiload.timestamputc, sysutcdatetime()) <5
and cpumultiload.avgload >90
and (Nodes.caption like '%map%')
this is the SWQL i've done so far:
join orion.cpumultiload on nodes.nodeid = cpumultiload.nodeid
where ---------------
and ( cpumultiload.[avgload] > '90' )
and ( nodes.[customproperties].[cpu_alert] = 'true' )
so the case here is that i need help to convert the "where datediff(mi, cpumultiload.timestamputc, sysutcdatetime()) <5" to SWQL.