{"id":72855,"date":"2026-10-22T14:56:59","date_gmt":"2026-10-22T06:56:59","guid":{"rendered":"https:\/\/oihelp.corporate.ifs.com\/help\/?page_id=72855"},"modified":"2026-10-23T00:33:06","modified_gmt":"2026-10-22T16:33:06","slug":"sentinel","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/sentinel\/","title":{"rendered":"Sentinel Events"},"content":{"rendered":"<p class=\"intro-text\">SentinelEvents lists the events raised by Sentinel monitors, such as a well below its minimum tubing head pressure, a compressor trip or a high tank level. Use it for event lists, alarm-load reports and bad-actor analysis on Explorer pages.<\/p>\n<p class=\"left-bar\">This article applies to version 26R2 and later of IFS OI Explorer.<\/p>\n\n<h2 id=\"fields\" class=\"page-subheading\">Fields<\/h2>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SentinelEvents<\/span> is a database-backed object, so filtering and grouping run in SQL over every event, and the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/oi-query-functions\/\">OI query functions<\/a> are available.<\/p>\n<table style=\"width: 70.5568%; border-collapse: collapse; border: 1px solid #cccccc; margin: 15px 0px 20px;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left; width: 21.9897%;\">Field<\/th>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left; width: 46.257%;\">Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">EventId<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">The event's ID in Sentinel (the key)<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">MonitorName<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">The monitor that raised the event<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">TestName<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">The test within the monitor<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SeverityName<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">How serious it is<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">BaseEntity<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Entity<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Asset<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">The equipment involved. <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Asset<\/span> is a separate field from <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Entity<\/span>.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">StartTime<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">EndTime<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">When the event started and cleared. A null <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">EndTime<\/span> means it's still active.<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Value<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">The reading that triggered the event, as text<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">State<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 21.9897%;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">IsCurrent<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">IsDefault<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Invalid<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px; width: 46.257%;\">Flags. <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Invalid<\/span> can be empty, and <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Invalid eq false<\/span> doesn't match an empty value.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2 id=\"event-lists\" class=\"page-subheading\">Event lists<\/h2>\n<p class=\"intro-text\">Active events on a chosen asset:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$filter=Entity eq ODataParam(asset,string) and IsCurrent eq true&amp;$select=MonitorName,TestName,SeverityName,StartTime,Value&amp;$orderby=StartTime desc<\/span><\/p>\n<p class=\"intro-text\">Open events for the morning meeting:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$filter=IsCurrent eq true and EndTime eq null&amp;$select=Entity,MonitorName,SeverityName,StartTime,Value&amp;$orderby=SeverityName,StartTime<\/span><\/p>\n<p class=\"intro-text\">Events in a chosen period:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$filter=StartTime ge ODataParam(startTime,datetime) and StartTime le ODataParam(endTime,datetime)&amp;$select=Entity,MonitorName,TestName,SeverityName,StartTime,EndTime,Value&amp;$orderby=StartTime desc&amp;$top=1000<\/span><\/p>\n<p class=\"intro-text\">Events for one monitor, with an optional test filter (an empty <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">test<\/span> matches every test):<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$filter=StartTime ge OI.daysago(7) and MonitorName eq ODataParam(monitor,string) and contains(TestName,ODataParam(test,string))&amp;$select=Entity,TestName,StartTime,Value&amp;$orderby=StartTime desc<\/span><\/p>\n<p class=\"intro-text\">One event:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$filter=EventId eq ODataParam(eventId,integer)<\/span><\/p>\n<hr \/>\n<h2 id=\"event-counts-and-trends\" class=\"page-subheading\">Event counts and trends<\/h2>\n<p class=\"intro-text\">Events in the last week, by monitor and severity:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$apply=filter(StartTime ge OI.daysago(7))\/groupby((MonitorName,SeverityName),aggregate($count as Events,StartTime with max as Latest))&amp;$orderby=Events desc<\/span><\/p>\n<p class=\"intro-text\">Bad actors: the 20 assets with the most events this month:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$apply=filter(StartTime ge OI.startofmonth(now()))\/groupby((Entity),aggregate($count as Events,TestName with countdistinct as Tests))&amp;$orderby=Events desc&amp;$top=20<\/span><\/p>\n<p class=\"intro-text\">Events per week, for a trend chart:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$apply=filter(StartTime ge OI.monthsago(6))\/compute(OI.startofweek(StartTime) as Week)\/groupby((Week),aggregate($count as Events))&amp;$orderby=Week<\/span><\/p>\n<p class=\"intro-text\">Events by weekday and local hour, for an alarm-load heat map. <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">OI.weekday<\/span> returns 1 for Monday to 7 for Sunday:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$apply=filter(StartTime ge OI.monthsago(3))\/compute(OI.weekday(OI.attimezone(StartTime,'Australia\/Perth')) as Day,hour(OI.attimezone(StartTime,'Australia\/Perth')) as Hour)\/groupby((Day,Hour),aggregate($count as Events))&amp;$orderby=Day,Hour<\/span><\/p>\n<hr \/>\n<h2 id=\"durations\" class=\"page-subheading\">Durations<\/h2>\n<p class=\"intro-text\">How long each event lasted. Events that are still open count up to now:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$filter=StartTime ge OI.daysago(7)&amp;$compute=OI.minutesbetween(StartTime,OI.ifnull(EndTime,now())) as Minutes&amp;$select=Entity,TestName,StartTime,EndTime,Minutes&amp;$orderby=Minutes desc&amp;$top=100<\/span><\/p>\n<p class=\"intro-text\">Average and longest duration per test, for cleared events:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$apply=filter(StartTime ge OI.monthsago(1) and EndTime ne null)\/compute(OI.minutesbetween(StartTime,EndTime) as Minutes)\/groupby((TestName),aggregate($count as Events,Minutes with average as AvgMinutes,Minutes with max as MaxMinutes))&amp;$orderby=AvgMinutes desc<\/span><\/p>\n<p class=\"intro-text\">Readings above a threshold. <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Value<\/span> is text, so convert it with <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">OI.tonumber<\/span>:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px;\">SentinelEvents?$filter=StartTime ge OI.daysago(7) and OI.tonumber(Value) gt 40&amp;$select=Asset,TestName,Value,StartTime<\/span><\/p>\n<hr \/>\n<h2 id=\"things-to-know\" class=\"page-subheading\">Things to know<\/h2>\n<ul class=\"intro-text\">\n<li><strong><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Value<\/span> is text.<\/strong> Use <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">OI.tonumber(Value)<\/span> to compare or average it. Values that aren't numbers become null.<\/li>\n<li><strong>Always use a time window.<\/strong> Sentinel can hold a large history. Filter on <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">StartTime<\/span> so datasets stay under the 1,000-row limit.<\/li>\n<li><strong>Use <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">EndTime eq null<\/span> for active events<\/strong>, or <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">IsCurrent eq true<\/span> for the current event of each test.<\/li>\n<li><strong>Every signed-in user sees every event.<\/strong> Sentinel events aren't filtered by access rights.<\/li>\n<li><strong>Look up one event by its key<\/strong>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SentinelEvents(884213)<\/span>, or with <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">$filter=EventId eq 884213<\/span>.<\/li>\n<li><strong>Combine Sentinel with other objects<\/strong> using Union. <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SentinelEvents<\/span> can be a branch.<\/li>\n<\/ul>\n<hr \/>\n<p class=\"left-bar\"><strong>Next: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/workspaces-workbooks-and-pages\/\">Workspaces, Workbooks and Pages<\/a><\/p>\n<p class=\"left-bar\"><strong>Related:<\/strong> <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/\">Sentinel <\/a> \u00b7 <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/oi-query-functions\/\">OI Query Functions<\/a> \u00b7 <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/aggregation\/\">Aggregation and Calculated Columns<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SentinelEvents lists the events raised by Sentinel monitors, such as a well below its minimum tubing head pressure, a compressor trip or a high tank level. Use it for event lists, alarm-load reports and bad-actor analysis on Explorer pages. This article applies to version 26R2 and later of IFS OI\u2026<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/sentinel\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"parent":72744,"menu_order":15,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-72855","page","type-page","status-publish","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=72855"}],"version-history":[{"count":8,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72855\/revisions"}],"predecessor-version":[{"id":72898,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72855\/revisions\/72898"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72744"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=72855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=72855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=72855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}