Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Insight

EventSummary

  • Last UpdatedSep 11, 2023
  • 1 minute read

Description

Retrieves summaries for events from the AVEVA Insight solution.

URL

/EventSummary

Method

GET 

Optional Parameters

  • GroupBy=[String]
    The type of AVEVA Insight data summarized. Accepted values include:

    • TagName

    • Area

    • HierarchicalArea

    • Object

    • Alarm

  • Value=[String]
    The data to be summarized. For example, if using GroupBy to retrieve TagName, the value is the FQN of the tag.

  • Count=[Int32]
    The number of alarms generated based on the value, and grouped by group.

  • Totalms=[Int64]
    Total alarm time of the value.

  • TotalUnAckMs=[Int64]
    Total unacknowledged alarm time of the value.

Sample Query

Scenario 1

This query returns a summary of the data generated in the last hour.

https://online.wonderware.[DOMAINSUFFIX]/apis/historian/v2/EventSummary

Scenario 2

This query returns a summary of the data generated in the last hour, filtered for records where GroupBy is "Area".

https://online.wonderware.[DOMAINSUFFIX]/apis/historian/v2/EventSummary?$filter=GroupBy eq 'Area'

Scenario 3

This query returns the summary of the last day and specifies only one tag, Reactor_001.ReactLevel.

https://online.wonderware.[DOMAINSUFFIX]/apis/historian/v2/EventSummary?$filter=GroupBy eq 'Alarm'&EventFilter=EventTime ge 2018-04-16T01:30:56.136Z and EventTime le 2018-04-17T01:35:56.136Z and source_processvariable eq 'Reactor_001.ReactLevel'

Related Links
TitleResults for “How to create a CRG?”Also Available in