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

AVEVA™ BI Gateway

NewsTTanomaly

  • Last UpdatedJun 09, 2023
  • 3 minute read

This Azure function custom query returns the news events for the ttanomaly – TwinThread Anomaly algorithm. The custom query expression supports the following parameters:

Parameter Name

Parameter Choice

Example

Description

QueryName

Required

NewsTTanomaly

Azure function query name

StartDateTime

Optional

"[RequestedStartTime]"

Any valid UTC date time value.

To leverage [RequestedStartTime] parameter for populating a time defining dimension, you must enable incremental update feature for the dimension. For more information, see Configure an incremental update for a dimension.

EndDateTime

Optional

"[RequestedEndTime]"

Any valid UTC date time value.

To leverage [RequestedEndTime] parameter for populating a time defining dimension, you must enable incremental update feature for dimension. For more information, see Configure an incremental update for a dimension.

The following properties are returned from the Azure function query for "NewsTTanomaly".

Note:
- This news story returns the top 3 contributors namely Fqn1, Fqn2, and Fqn3.
- The fields with the prefix LP are the parameters exposed to the Insight News Feed component.

Property Name

DataType

Description

Score

Double

Score of the news story

Algorithm

String

The algorithm to which the news story belongs

DateTime

DateTime

The time after which the news anomaly is inserted into the endpoint.

StartTime

DateTime

The start time (in UTC format) of the news events.

TimeOfOccurrence

DateTime

The time at which the news anomaly is detected.

LP_Asset

String

Asset

LP_DateTime

DateTime

Datetime

LP_AssetAnomalyScore

Double

Asset anomaly score

LP_Modelname

String

Model name

LP_ModelId

String

Model ID

LP_Fqn1

String

The first contributor FQN to the news story

LP_Transform1

String

The transformation type for the first FQN

LP_OriginalTransform1

String

The transformation type for the first FQN

LP_MlName1

String

Internal name of the first FQN

LP_Value1

Double

Value of the first FQN

LP_OldScore1

Double

Old score of the first FQN

LP_AnomalyScore1

Double

Anomaly score of the first FQN

LP_RawScore1

Double

Raw score of the first FQN

LP_RangeMin1

Double

Minimum range of the first FQN

LP_RangeMax1

Double

Maximum range of the first FQN

LP_Fqn2

String

The second contributor FQN to the news story

LP_Transform2

String

The transformation type for the second FQN

LP_OriginalTransform2

String

The transformation type for the second FQN

LP_MlName2

String

Internal name of the second FQN

LP_Value2

Double

Value of the second FQN

LP_OldScore2

Double

Old score of the second FQN

LP_AnomalyScore2

Double

Anomaly score of the second FQN

LP_RawScore2

Double

Raw score of the second FQN

LP_RangeMin2

Double

Minimum range of the second FQN

LP_RangeMax2

Double

Maximum range of the second FQN

LP_Fqn3

String

The third contributor FQN to the news story

LP_Transform3

String

The transformation type for the third FQN

LP_OriginalTransform3

String

The transformation type for the third FQN

LP_MlName3

String

Internal name of the third FQN

LP_Value3

Double

Value of the third FQN

LP_OldScore3

Double

Old score of the third FQN

LP_AnomalyScore3

Double

Anomaly score of the third FQN

LP_RawScore3

Double

Raw score of the third FQN

LP_RangeMin3

Double

Minimum range of the third FQN

LP_RangeMax3

Double

Maximum range of the third FQN

Units

String

The engineering units of the FQN

TimeZone

String

The name of the timezone of the news story

User

String

The system user

AssetID

String

Asset ID of the news story

Location

String

Location

Author

String

Author of the news story

Tenant

String

Name of the tenant of the news story

ID

String

Globally unique identifier for the event.

FQN

String

The fully qualified name for the tag. A fully qualified name uses the format: datasource.tagname.

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