# Export machine learning jobs in elastic cloud

**URL:** <https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [December 16, 2021, 10:38am UTC](https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133 "2021-12-16T10:38:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dabo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dabo/32/95229_2.png) [@dabo](https://discuss.elastic.co/u/dabo)\
**Post date:** [December 16, 2021, 10:38am UTC](https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133/1 "2021-12-16T10:38:41Z")

</div>

Hi,

How to export ML jobs from elastic cloud?

Kind regards,  
Dane

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [December 16, 2021, 12:29pm UTC](https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133/2 "2021-12-16T12:29:22Z")

</div>

[https://www.elastic.co/guide/en/machine-learning/current/move-jobs.html](https://www.elastic.co/guide/en/machine-learning/current/move-jobs.html)

---

<div class="post-metadata">

**Author:** ![dabo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dabo/32/95229_2.png) [@dabo](https://discuss.elastic.co/u/dabo)\
**Post date:** [December 16, 2021, 12:42pm UTC](https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133/3 "2021-12-16T12:42:41Z")

</div>

Thanks, I saw that but seems like we are sometimes missing that configuration in Stack Management. Maybe it is some bug.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/2/329ad90a902ec6437628fe7f46576c617c45444a.png)

Anyway, when it is there (under Alerts and Insights) I can access it, but I still don't know how to export ml jobs out of Kibana? Can see that you can only move them between spaces (if you have more than one space).  
No export button. It is not very well explained in the documentation.

I want to export them so I can delete them, to get rid of the ones we are not using so I can get rid of their underlying .ml indices.

Kind regards,  
Dane

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [December 16, 2021, 1:13pm UTC](https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133/4 "2021-12-16T13:13:35Z")

</div>

It should look like this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c417e6384854f217d262013b9220ae7a03c4f1c.png)

Two possible explanations:

1. I believe the export/import functionality was introduced in 7.15 so if you are on 7.14 or lower you may not see it

2. You may not have the `machine_learning_admin` or the `machine_learning_user` role assigned to your login id for that cluster.

---

<div class="post-metadata">

**Author:** ![dabo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dabo/32/95229_2.png) [@dabo](https://discuss.elastic.co/u/dabo)\
**Post date:** [December 16, 2021, 1:34pm UTC](https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133/5 "2021-12-16T13:34:35Z")

</div>

You are correct. We are still on 7.13 and it was introduced in 7.15.  
I can only see Synchronize saved object and not Export and Import job options.  
We should upgrade soon.

Thank you for the replies.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 13, 2022, 1:35pm UTC](https://discuss.elastic.co/t/export-machine-learning-jobs-in-elastic-cloud/292133/6 "2022-01-13T13:35:26Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
