From 679645f95a410b48f0bf5d752315cf5aa223b948 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Thu, 12 Nov 2020 18:29:43 +0000 Subject: [PATCH] [ML] Updating analysis config schema (#82703) (#83258) * [ML] Updating analyss config schema * better schema order --- .../ml/server/routes/schemas/anomaly_detectors_schema.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts b/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts index 005099e96581c..b6ca4acf8f78a 100644 --- a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts +++ b/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts @@ -81,6 +81,10 @@ export const analysisConfigSchema = schema.object({ detectors: schema.arrayOf(detectorSchema), influencers: schema.arrayOf(schema.maybe(schema.string())), categorization_field_name: schema.maybe(schema.string()), + categorization_analyzer: schema.maybe(schema.any()), + categorization_filters: schema.maybe(schema.arrayOf(schema.string())), + latency: schema.maybe(schema.number()), + multivariate_by_fields: schema.maybe(schema.boolean()), per_partition_categorization: schema.maybe( schema.object({ enabled: schema.boolean(),