-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Using a script_field
as a partition_field_name
fails validation in AD advanced job wizard
#76075
Comments
Pinging @elastic/ml-ui (:ml) |
The issue here is that the step to obtain the cardinality of the partitioning and influencer field(s) to pass to the model memory limit estimate endpoint is failing. There are probably three options here to get a figure to use for the cardinality(s):
|
@benwtrent please can you come up with some steps to generate the necessary cardinality search to find the cardinality of the script's output field(s) based on the datafeed config, the job config and the time range being used for estimating the cardinality of the simple fields. You can work with @darnautov if you need more background about how it works today and what information is available. The UI team can implement the steps, but need help with the process for generating the appropriate search. |
From what I can tell Cardinality agg supports script fields If the UI team places a predicate to change the cardinality agg from |
It seems to me that if the ML kibana app keeps an internal map of Then the resulting agg values could be passed to as normal given their field names. |
Closing via #81923 |
Kibana version:
7.8.1
Elasticsearch version:
7.8.1
Server OS version:
macOS 10.15.6
Browser version:
Chrome Version 84.0.4147.125
Browser OS version:
macOS 10.15.6
Original install method (e.g. download page, yum, from source, etc.):
Download pags
Describe the bug:
When specifying a
script_field
as apartition_field_name
the ML anomaly detection job fails to validate.Steps to reproduce:
kibana_sample_data_logs
dataset (via Kibana)partition_field_name
togeo_src_dest
Expected behavior:
Successful creation of the job. For advanced jobs, we should be less strict on validation.
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: