Skip to content

Commit 20a1baf

Browse files
committed
Add geo_results.actual_point and geo_results.typical_point
1 parent ec3159e commit 20a1baf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

specification/ml/_types/Anomaly.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export class Anomaly {
3131
field_name?: string
3232
function?: string
3333
function_description?: string
34+
/**
35+
* If the detector function is `lat_long`, this object contains comma delimited strings for the latitude and longitude of the actual and typical values.
36+
*/
37+
geo_results?: GeoResults
3438
influencers?: Influence[]
3539
initial_record_score: double
3640
is_interim: boolean
@@ -67,3 +71,14 @@ export class Influence {
6771
influencer_field_name: string
6872
influencer_field_values: string[]
6973
}
74+
75+
export class GeoResults {
76+
/**
77+
* The actual value for the bucket formatted as a `geo_point`.
78+
*/
79+
actual_point: string
80+
/**
81+
* The typical value for the bucket formatted as a `geo_point`.
82+
*/
83+
typical_point: string
84+
}

0 commit comments

Comments
 (0)