# ML Job - Edit JSON vs Create with gui?

**URL:** <https://discuss.elastic.co/t/ml-job-edit-json-vs-create-with-gui/133175>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [May 24, 2018, 2:44pm UTC](https://discuss.elastic.co/t/ml-job-edit-json-vs-create-with-gui/133175 "2018-05-24T14:44:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jc034240](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jc034240](https://discuss.elastic.co/u/jc034240)\
**Post date:** [May 24, 2018, 2:44pm UTC](https://discuss.elastic.co/t/ml-job-edit-json-vs-create-with-gui/133175/1 "2018-05-24T14:44:26Z")

</div>

Does anyone know of a way through Kibana to create an ML job via JSON (vs going through gui), or editing the JSON after the ML job is created?

---

<div class="post-metadata">

**Author:** ![jc034240](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jc034240](https://discuss.elastic.co/u/jc034240)\
**Post date:** [May 24, 2018, 2:53pm UTC](https://discuss.elastic.co/t/ml-job-edit-json-vs-create-with-gui/133175/2 "2018-05-24T14:53:10Z")

</div>

I think I answered my own question and believe this can be done with the Create Data Feeds and Jobs API.

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [May 24, 2018, 5:18pm UTC](https://discuss.elastic.co/t/ml-job-edit-json-vs-create-with-gui/133175/3 "2018-05-24T17:18:04Z")

</div>

hope this helps further  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html#\_examples\_20](https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html#_examples_20)

[https://www.elastic.co/guide/en/x-pack/current/ml-limitations.html#\_jobs\_created\_in\_kibana\_must\_use\_datafeeds](https://www.elastic.co/guide/en/x-pack/current/ml-limitations.html#_jobs_created_in_kibana_must_use_datafeeds)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 30, 2018, 10:21pm UTC](https://discuss.elastic.co/t/ml-job-edit-json-vs-create-with-gui/133175/4 "2018-10-30T22:21:35Z")

</div>


