Remind users to sync saved objects in order for training model to show up in Kibana
We should consider automatically synchronizing Kibana saved objects after using eland_import_hub_model to import a training model to Elasticsearch, or add an output message to the docker run -it --rm --network host elastic/eland eland_import_hub_model script at the end of the process to instruct the user to either call the Kibana API or click on Synchronize saved objects from the ML UI to manually sync the objects in order for the training model to show up.
This will improve the user experience when using the import script.
It's possible and there is a public Kibana REST API than performs the syncing. In theory we could do it but it means the user has to provide the Kibana URL and potentially a different set of login details for Kibana to the model upload script. Given how complicated calling that script is anyway we felt it too confusing to also ask for the Kibana URL.
However, we could print the next steps after the upload is done.
In theory we could do it but it means the user has to provide the Kibana URL and potentially a different set of login details for Kibana to the model upload script.
If you only had to provide the Kibana URL, this would be an improvement on the current experience I think, but ++ on printing the message 👍.