elastic / kibana

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

[ML] Transforms Validation #93919

Open walterra opened 3 years ago

walterra commented 3 years ago

https://github.com/elastic/elasticsearch/pull/68396 introduces header warnings for the _preview endpoint. This can be used to provide hints to users in the Transforms creation wizard. Possibly as an extra validation step or as part of the preview table.

Examples for warnings:

elasticmachine commented 3 years ago

Pinging @elastic/ml-ui (:ml)

peteharverson commented 3 years ago

See also this issue, found during runtime fields investigatoin in #77462, when creating a date_histogram groupby transform preview by using a big dataset (like Nginx), a 500 internal server error was thrown. Preview through API is working fine. Note there are performance issues when the timestamp field of the index pattern is a runtime field. Possible solution may be to prevent the user selecting a runtime field as the timestamp field when creating a Kibana index pattern, or display a warning that performance may be impacted.

transform_error