Hi Martyy,
Thank you for reaching out. Fortigate does not have such network analyzer capability. Automation stitch trigger in this case would have relied on fortios logs however there are no logs to record when a client device is offline. There are logs for managed switch and access points failure or down as far as most granular level of these logs. If these endpoint boxes have forticlient agents that are managed by forticlient EMS server there are logs for failed registration that can be used although it does not mean the device is offline.
I recommend looking into using a network analyzer server for this task as this is the type of application such server is used for. We do have FortiNAC which offers this kind of capability in addition to more advanced features and capabilities in terms of security, device identification, auditing, and integration with fortigate and other vedors. If you are interested in such product I would recommend reaching out to your reseller or Fortinet customer service for demo, trials, quotes, etc. Here is a reference from FortiNAC documentation:
https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/5bf21617-1bf0-11ec-8c53-00505692583a/FortiNAC-9.2.0-admin-guide.pdf
Example for device status:
https://docs.fortinet.com/document/fortinac-f/7.2.0/fortigate-endpoint-management-integration/138440/determining-offline-status
Thank you,
saleha