Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error validating a categorization job with categorization_filters field #82698

Closed
edsavage opened this issue Nov 5, 2020 · 1 comment · Fixed by #82703
Closed

Error validating a categorization job with categorization_filters field #82698

edsavage opened this issue Nov 5, 2020 · 1 comment · Fixed by #82703
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v7.11.0

Comments

@edsavage
Copy link

edsavage commented Nov 5, 2020

If the categorization_filters field is added to the definition of a categorization job (necessarily in the the advanced editor) e.g.

{
  "job_id": "categorize_messages",
  "description": "",
  "groups": [],
  "analysis_config": {
    "bucket_span": "15m",
    "detectors": [
      {
        "function": "count",
        "by_field_name": "mlcategory"
      }
    ],
    "influencers": [
      "mlcategory"
    ],
    "per_partition_categorization": {
      "enabled": false,
      "stop_on_warn": false
    },
    "categorization_field_name": "message",
    "categorization_filters": []
  },
  "data_description": {
    "time_field": "timestamp"
  },
  "analysis_limits": {
    "model_memory_limit": "26MB"
  },
  "model_plot_config": {
    "enabled": false,
    "annotations_enabled": false
  }
}

the following error is generated

Screenshot 2020-11-05 at 09 33 08

Although not part of the job creation wizards I would expect the field to be accepted as valid if present.

@edsavage edsavage added :ml bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection labels Nov 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v7.11.0
Projects
None yet
3 participants