Skip to main content
kcanalichio
New Member
Dec 22, 2022 4:43 PM UTC
Question

Creating a report that uses contstants.

What is the correct syntax to  Include the following formula in a report

 

86400-SUM(System Downtime)

2 replies

kcanalichio
New Member
Dec 22, 2022 4:55 PM UTC

In a report I want to have a return a field that uses a constant of 86400 and subtract the amount of system downtime. The Ultimate goal here is to have a column that shows total uptime over the last 24 hours(or period the the report is run for). Since Uptime in the PH_DEV_MON_SYSTEM_UPTIME is uptime since the machine was rebooted.

In most reporting software it would look something like this

86400-SUM(System Downtime)

This syntax is not allowed in the fortisiem, so what is the correct syntax?

I'm using the report 'Top Devices by Accumulated System Downtime' as the base for adding this new column

Translate
kcanalichio
New Member
Dec 22, 2022 9:02 PM UTC

was able to get what I needed by doing this

(86400 + SUM(System Downtime) - SUM(System Downtime) ) - SUM(System Downtime))

why this works and why

(86400 - SUM(System Downtime) )

doesn't  is something a developer will need to look at

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024