Search + K

Command Palette

Search for a command to run...

Sign In

Estimate job model memory usage

POST /_ml/anomaly_detectors/_estimate_model_memory
Copy endpoint

Make an estimation of the memory usage for an anomaly detection job model. The estimate is based on analysis configuration details for the job and cardinality estimates for the fields it references.

Required authorization

  • Cluster privileges: manage_ml

Request Body

application/json required
{ analysis_config?: MlTypesAnalysisConfig
interface MlTypesAnalysisConfig {
bucket_span?: TypesDuration;
categorization_analyzer?: MlTypesCategorizationAnalyzer;
categorization_field_name?: TypesField;
categorization_filters?: string[];
detectors: MlTypesDetector[];
influencers?: TypesField[];
latency?: TypesDuration;
model_prune_window?: TypesDuration;
multivariate_by_fields?: boolean;
per_partition_categorization?: MlTypesPerPartitionCategorization;
summary_count_field_name?: TypesField;
}
;max_bucket_cardinality?: { };overall_cardinality?: { }; }

Responses

200 application/json
{ model_memory_estimate: string; }