When creating a Smart Machine Label for 'Last Reboot' or 'Last Sync', many people often wonder what the configuration is needed for the third field in order to get the search criteria to work properly.
In reality, by design the advanced search feature cannot query the dynamic time interval. Instead, you will need to use a MySQL query in order to get the information you desire with a WHERE statement of when sync or last reboot occurred.
WHERE LAST_SYNC > DATE_SUB(now(), interval 24 hour)
WHERE LAST_REBOOT > DATE_SUB(now(30), interval 24 hour) - awingren 11 years ago
where (( UPTIME > '30')) - awingren 11 years ago
SELECT MACHINE.NAME AS SYSTEM_NAME, MACHINE.IP, USER_LOGGED, LAST_REBOOT, LAST_SYNC FROM MACHINE WHERE DateDiff(CurDate(), LAST_REBOOT) > 30 ORDER BY LAST_REBOOT - rsm11 11 years ago