I am currently playing around with Machine learning on Kibana and I successfully learned how to use Anomaly detection to use scripted fields by editing the JSON.
Now I want to use data frame analytics specifically currently on regression and clicked advance editor since there are no scripted fields dropdown in my dependant variables drop down.
So I tried to add "script_fields".... json query and it does not work using the query from
it works for Anomaly detection but does not work for data frame analytics.
and it says "an error occurred creating the data frame analytics job, Bad request [request.body.script_fields] definition for this key is missing
Is it possible to use data frame analytics on a scripted field?