elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.75k stars 8.15k forks source link

[ML] Client-Side Job Validation v6.3 #18349

Closed elasticmachine closed 6 years ago

elasticmachine commented 6 years ago

Original comment by @walterra:

(Client-Side means x-pack-kibana instead of x-pack-elasticsearch in this context)

This is a follow up issue to LINK REDACTED to keep track of the actual implementation.

UI/Job Validation Framework

Bugs

Checks v6.3

Unit Tests

They should cover all possible message ids being returned.

elasticmachine commented 6 years ago

Original comment by @sophiec20:

Awesome first review... feedback coming...

A1: Repeated error for each detector - any way to de-dup? Double over_field value check. image and also image

A2: Links to blogs I don't think we should link to blogs from inside the UI. It seems a bit too temporary and unable to version control. We could link to a page in the docs, which could then link to a blog - however should we do this either? @lcawl thoughts? is there precedence in say upgrade wiz or add data?

A3: bucket span test is very quick (and always seems to be 15m) - is this actually plugged in?

elasticmachine commented 6 years ago

Original comment by @walterra:

Yes those blog links are temporary, Lisa is already working on replacing them here: LINK REDACTED

elasticmachine commented 6 years ago

Original comment by @jgowdyelastic:

Just making a note here so I don't forget. The current way that the validation button has been added to the job wizards might need addressing. The job config is passed to the mlValidateJob directive by a function call: job="getJobFromConfig()" this means this function is called on every digest cycle. Also as a side effect it means the job id validation is called every digest cycle. So the user gets this error message as soon as the page loads: image

Perhaps a reference to getJobFromConfig could be passed across instead and only called when the Validate job button is pressed.

elasticmachine commented 6 years ago

Original comment by @walterra:

elasticmachine commented 6 years ago

Original comment by @walterra:

I cleaned up the issue's description an moved validation checks planned for v6.4 to https://github.com/elastic/kibana/issues/18368.

walterra commented 6 years ago

Created a follow up issue to track further progress for v6.3.x https://github.com/elastic/kibana/issues/18898