NewsDatasourceFlatline
- Last UpdatedJun 09, 2023
- 2 minute read
This Azure function custom query returns the news events for the xtfg algorithm. The custom query expression supports the following parameters:
|
Parameter Name |
Parameter Choice |
Example |
Description |
|---|---|---|---|
|
QueryName |
Required |
NewsDatasourceFlatline |
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 "NewsDatasourceFlatline".
Note: 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. |
|
LP_Lapse |
Double |
The lapse time. This is the time difference (in minutes) between the TimeOfOccurrence and DateTime parameters. |
|
LP_Since |
DateTime |
The since field is a duplicate of TimeOfOccurrence. |
|
LP_Source |
String |
Source of the news story |
|
LP_TagCount |
Double |
The number of tags contributing to the news story. |
|
TimeOfOccurrence |
DateTime |
The time at which the news anomaly is detected. |
|
Source |
String |
Source of the news story |
|
TimeZone |
String |
The name of the timezone of the news story |
|
User |
String |
The system user. |
|
TZ |
String |
Time zone offset 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. |